No description
- Rust 92.2%
- Shell 7.8%
| src | ||
| tests | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| PKGBUILD | ||
| README.md | ||
gitnore
This CLI utility uses gitignore.io to create a suitable gitignore, given a list of templates.
Examples
$ gitnore --help
gitnore 0.1.0
Samuel Collins <samuel.collins@live.co.uk>
Quickly generate gitignore files from a terminal.
USAGE:
gitnore [FLAGS] [OPTIONS] <templates|--completions <completions>|--complete-template <complete-template>>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
--verbose
OPTIONS:
--completions <completions> Generate completions for a specified shell. [possible values: bash, fish, zsh]
--out <out>
ARGS:
<templates>... A list of gitignore templates to use.
$ gitnore --verbose python VisualStudioCode
Templates selected: python,VisualStudioCode
Retrieving gitignore...
Writing gitignore to file...
Done.
Development
Run formatting, linting, and the default offline test suite:
cargo fmt --check
cargo clippy --all-targets -- -D warnings
cargo test
Run only the core integration flow tests:
cargo test --test core_flow
Run the optional live API smoke test:
LIVE_API_TESTS=1 cargo test --test live_api_smoke