Metadata-Version: 2.1
Name: giigd
Version: 0.0.2
Summary: gitignore cli
Home-page: https://github.com/ksundong/gitignore-cli-py
Author: Dion
Author-email: idion@idion.dev
License: UNKNOWN
Keywords: gitignore
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3
Description-Content-Type: text/markdown
Requires-Dist: click
Requires-Dist: fuzzywuzzy
Requires-Dist: python-Levenshtein

# gitignore cli python(giig)

## milestone

- [x] gitignore api 호출해서 gitignore 출력
- [x] gitignore api 호출해서 `.gitignore` 파일 생성
- [x] 검색 기능
- [x] 리스트 출력 기능
- [ ] default 추가 기능

## installation

```shell
git clone https://github.com/ksundong/gitignore-cli-py.git
python3 setup.py install
```

또는

```shell
pip3 install giigd
```

## how to use

`giig [-h|--help]`로 도움말을 볼 수 있습니다.

```shell script
$ 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들을 보여줍니다. 

#### show

이 커맨드는 인자로 item들을 받아서 터미널에 내용을 출력해줍니다.

#### make

이 커맨드는 인자로 item들을 받아서 `.gitignore` 파일을 만들어줍니다.

##### make option

`-a` 로 기존 파일에 덧붙일 수 있습니다.


