Fast gitignore CLI tool with cached templates
Project description
gitignore CLI
Fast gitignore CLI tool with cached templates
Features
- Extremely fast - no network calls made if the cache has been retrieved with
gi --refresh
.
Installation
First make sure the git
executable is installed and in your $PATH
,
as it is required to retrieve the gitignore templates.
pipx
This is the recommended installation method.
$ pipx install gitignore-cli-tddschn
pip
$ pip install gitignore-cli-tddschn
Usage
You can either invoke gitignore CLI with gi
or gitignore
.
$ gitignore -h
usage: gitignore [-h] [-o FILE] [-r] [-l] [TEMPLATES ...]
gitignore CLI
positional arguments:
TEMPLATES A positional argument (default: None)
options:
-h, --help show this help message and exit
-o FILE, --out FILE Output to file, append if exists (default: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)
-r, --refresh Refresh gitignore cache (default: False)
-l, --list Lists available gitignore templates (default: False)
Develop
$ git clone https://github.com/tddschn/gitignore-cli-tddschn.git
$ cd gitignore-cli-tddschn
$ poetry install
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for gitignore-cli-tddschn-0.1.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1659840b4c40b03dcc9c023f7298dddde8df869a2b9ed8624595ba380ff61320 |
|
MD5 | f9aeb5128d26517e6f6e8f5ea681cad8 |
|
BLAKE2b-256 | 7dc185d2261ee7a92e8fba376e0e2938b351999e416ebda073fa3995370da723 |
Close
Hashes for gitignore_cli_tddschn-0.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60b1ff0cd903aa947ba0d91d4d668feb816b59c67adb746832f2d886d606d897 |
|
MD5 | 46afe680916f9d9e121db53f08d1df03 |
|
BLAKE2b-256 | 02d44bd2572c7a236eaa1a04d4e6bfdc3c4528921b0d926a9e702f5732c78c69 |