| Crates.io | gitignored-cli |
| lib.rs | gitignored-cli |
| version | 0.0.8 |
| created_at | 2022-08-13 18:14:34.447887+00 |
| updated_at | 2024-03-28 06:13:51.076623+00 |
| description | The CLI Application of Gitignored. Provide A Faster Way to Generate .gitignore File via Caching |
| homepage | https://gitignored.vercel.app |
| repository | https://github.com/gervinfung/gitignored |
| max_upload_size | |
| id | 644971 |
| size | 226,348 |
An Offline-first CLI application that let the developer generate various .gitignore templates
The templates are taken from the web application Gitignored, which is the GUI application of this application. The TUI application is available here
Side note: The GUI application takes the templates from gitignore of Github
Here's what the developers can do with this application
.gitignore file, will not override current .gitignore, pass --force to forcefully overridetemp/temp1, it will auto generate at as temp/temp1/.gitignore.gitignore file, it will create one if it does not exist.gitignore file of a specified directory, again it will create one if it does not existYou don't need to have an internet connection to use it, unless you want to update the cache
Note: gitignored-cli is a work-in-progress library, so expect breaking changes in its API
gitignored-cli
OR
gitignored-cli --help


gitignored-cli template --list

gitignored-cli template --list --column 8

gitignored-cli template --search rust node java vscode jetbrain whatever

gitignored-cli template --preview rust node java vscode jetbrain

gitignored-cli template --generate rust node java vscode jetbrain whatever

gitignored-cli template --generate rust node java vscode jetbrain whatever

gitignored-cli template --generate rust node java vscode jetbrain whatever --force

gitignored-cli template --generate rust node java vscode jetbrain whatever --outdir temp-dev/temp-two

gitignored-cli template --append rust node java vscode jetbrain whatever

gitignored-cli template --append rust node java vscode jetbrain whatever

gitignored-cli template --append rust node java vscode jetbrain whatever --outdir temp-dev/temp-two

gitignored-cli template --update

gitignored-cli template --update

gitignored-cli open-link

gitignored-cli uninstall


Install it
cargo install gitignored-cli
Run it
gitignored-cli (commands)
| Aspect | Name |
|---|---|
| Language | Rust |
| Linting | Clippy |
| Format | Rustfmt |
| Build Automation Tool | Make |
| Package Manager | Cargo |
| Continuous Integration | GitHub Actions |
Below are the listed commands that you can use to build/develop/test this app
| Command | Usage |
|---|---|
| make test-dev | Run all test code in development environment |
| make test-prod | Run all test code in ci-cd |
| make build | Bundle, build and release the app as executable |
| make check | Run compiler checking on code |
| make lint | Run linter for code |
| make format | Run formatter to format the code |
Make sure you can run make, otherwise you need to run commands listed in Makefile separately
Refer to here