Crates.io | chloe_ignore |
lib.rs | chloe_ignore |
version | 0.1.4 |
source | src |
created_at | 2023-09-10 01:17:20.819796 |
updated_at | 2023-09-10 01:42:53.006471 |
description | A simple ignore file generator |
homepage | |
repository | https://github.com/Chloe199719/cli-gitignore |
max_upload_size | |
id | 968468 |
size | 8,921 |
cli-gitignore
is a simple ignore file generator written in Rust.
https://github.com/Chloe199719/cli-gitignore
0.1.4
The tool provides several command-line options:
--help, -h
: Show the help message.--version, -v
: Show the version.--language, -l
: Specify a Programming Language (typescript, javascript, rust ,append). (append is used to not use a language template and append custom commands only)--remove, -r
: Remove the current .gitignore file if it exists and generate a new one.--custom, -c
: Add custom entries to the .gitignore file. Example: -c .idea .vscode
.If no language is specified, the tool will prompt the user to enter a language. The tool currently supports generating .gitignore
files for Typescript, Javascript, and Rust.
https://github.com/Chloe199719/cli-gitignore
cargo build --release
./target/release/cli-gitignore
cargo install cli-gitignore
cli-gitignore
cli-gitignore -l typescript
cli-gitignore -l rust
cli-gitignore -l rust -c .idea .vscode
cli-gitignore -l append -c .idea .vscode