gitignore cli
Project description
gitignore cli python(giig)
milestone
- gitignore api 호출해서 gitignore 출력
- gitignore api 호출해서
.gitignore파일 생성 - 검색 기능
- 리스트 출력 기능
- default 추가 기능
installation
git clone https://github.com/ksundong/gitignore-cli-py.git
python3 setup.py install
또는
pip3 install giigd
update
pip3 install giigd --upgrade
how to use
giig [-h|--help]로 도움말을 볼 수 있습니다.
$ giig --help
Usage: giig [OPTIONS] COMMAND [ARGS]...
Options:
-v, --version Show version
-h, --help Show this message and exit.
Commands:
list Show a list of the ignorable items
make Make .gitignore
search Fuzzy search in ignorable items
show Show api results
option
-h,--help옵션은 도움말을 보여줍니다.-v,--help옵션을 사용하면 버전을 알 수 있습니다.
command
list
이 커맨드는 gitignore.io의 적용가능한 목록들을 불러옵니다. (출력 엄청 많음)
search
이 커맨드는 검색 키워드(1개)를 인자로 받아 관련성이 높은 item들을 보여줍니다.
$ giig search py
Finding... py
['jupyternotebooks', 'pycharm', 'pycharm+all', 'pycharm+iml', 'pydev']
show
이 커맨드는 인자로 item들을 받아서 터미널에 내용을 출력해줍니다.
$ giig show java
# Created by https://www.toptal.com/developers/gitignore/api/java
# Edit at https://www.toptal.com/developers/gitignore?templates=java
### Java ###
# Compiled class file
*.class
# Log file
*.log
# BlueJ files
*.ctxt
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
# End of https://www.toptal.com/developers/gitignore/api/java
make
이 커맨드는 인자로 item들을 받아서 .gitignore 파일을 만들어줍니다.
make option
-a 로 기존 파일에 덧붙일 수 있습니다.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
giigd-0.0.4.tar.gz
(3.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
giigd-0.0.4-py3-none-any.whl
(3.7 kB
view details)
File details
Details for the file giigd-0.0.4.tar.gz.
File metadata
- Download URL: giigd-0.0.4.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72d9775dd44a45fa5b36a0afe268ce61278e513bb3ce31db11782f9f007bb668
|
|
| MD5 |
78e7eefbdea6f1d8c02c4583bbf18739
|
|
| BLAKE2b-256 |
381af410c1a62f7cd1009df19463a9287260a1749d832fa6a2ffe83023f446a5
|
File details
Details for the file giigd-0.0.4-py3-none-any.whl.
File metadata
- Download URL: giigd-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5be6603c0b8b97eb518991a66ba9fdc300926fdf2a519aeda8682ce671c259f
|
|
| MD5 |
e841a8045867d9c579d78935ba883792
|
|
| BLAKE2b-256 |
0a9335cfe528ee54db8367d28e790ce3a0f7f366791f01fbe913c5e283b44354
|