Skip to main content

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 파일을 만들어줍니다.

$ giig make macos kotlin intellij
Making... ['macos', 'kotlin', 'intellij']
Done!! ['macos', 'kotlin', 'intellij']
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.5.tar.gz (3.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

giigd-0.0.5-py3.9.egg (5.8 kB view details)

Uploaded Egg

giigd-0.0.5-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file giigd-0.0.5.tar.gz.

File metadata

  • Download URL: giigd-0.0.5.tar.gz
  • Upload date:
  • Size: 3.8 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

Hashes for giigd-0.0.5.tar.gz
Algorithm Hash digest
SHA256 0d5e279e07e4c1c4c13e881ad58594d21283f1a7e2320fdec5d4cc055df98924
MD5 49176f678fd750fe59caa79dc8bcd0ed
BLAKE2b-256 d4c40a283fd377edf9a6b1b620d853da6b5383e289a80e44240893a7356e36aa

See more details on using hashes here.

File details

Details for the file giigd-0.0.5-py3.9.egg.

File metadata

  • Download URL: giigd-0.0.5-py3.9.egg
  • Upload date:
  • Size: 5.8 kB
  • Tags: Egg
  • 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

Hashes for giigd-0.0.5-py3.9.egg
Algorithm Hash digest
SHA256 cd12140f656716d7251aaf3a4dd1ed9cfce265cc1db6b9f8a937a025dd1d6066
MD5 a3897188b04e62d3e3b228d0ee66fc4e
BLAKE2b-256 e720f2edc39c7c76bfc95e50e54dc6c99e96cbc31ae9e97674b6853e5a9da728

See more details on using hashes here.

File details

Details for the file giigd-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: giigd-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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

Hashes for giigd-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9ceb5b6e58860688829f224ec56cb361a67bc15430dbe640ffc884f9344233db
MD5 c7b3cd701eb53006c23c4f9a31d3bcb5
BLAKE2b-256 de0ca4b564651f7b1663f219aed833e17c8a97c6c6920ba05ae3512bc05f9009

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page