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 this tool with gitignore-cli-tddschn
or gitignore
,
--help
is unsupported when using the latter.
$ 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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b7bb1f1774a6968a7493585a7d4eed419c446db7aad8ef55b158a1645f68ead |
|
MD5 | dd220210487b921ded3f79af2e144c91 |
|
BLAKE2b-256 | 11b41d8d8f48bd989c01a6a77395c30b5eb09485eef3b8e0de28c9150d5a209d |
Close
Hashes for gitignore_cli_tddschn-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 566909713c53b9f3ec32164410e6a6f3d54afb03c5a6bc161df0099d738b91be |
|
MD5 | 9767956ec2825144c92dbab0b8fca8bd |
|
BLAKE2b-256 | 96fd050df016f37dc693b10527696395ca824db8dc46a6f08875bfe55fc10d80 |