3 releases

0.1.3 Jun 29, 2023
0.1.2 Apr 14, 2023
0.1.1 Mar 28, 2023
0.1.0 Mar 22, 2023

#433 in Template engine

MIT/Apache

8KB
119 lines

README

Help generate .gitignore files for git repositories.The gitignore template file is from the https://github.com/github/gitignore.git

INSTALL

If there is no rust environment, please install rust.

If there is a rust environment/installed

cargo install creat_gitignore

USAGE

init

Please execute the init command when using it for the first time.

cgi init

Re-execution will pull the latest template data from GitHub again.

ls

View the list of templates.

cgi ls

add

cgi add a.gitignore

Add a.gitignore to the custom template library.

help

cgi help

example

If you want to add a Java project gitignore template file to a directory /a/b/c

cd /a/b/c
cgi Java

Run the ls command to view the supported templates

UNINSTALL

cargo unistall creat_gitignore

Dependencies

~1.5MB
~24K SLoC