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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | db7c46f8060a95d828528483073537e9312ec20584df3f8460aa2372cc90257b |
|
MD5 | 5b4098bcdc38faa1c101510265c50643 |
|
BLAKE2b-256 | 7055b7aca495e1a8bd20719d3c81758aa184cd057a443a2e45f2b64c9e820749 |
Close
Hashes for gitignore_cli_tddschn-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06c4e1574a1601afb6cedb4dc5ebb96fad2deaa362cd93d11f8d52ea13404119 |
|
MD5 | 88544d1875ef460a00e7d1ac218791f6 |
|
BLAKE2b-256 | 7e650a512a22ce8ce6af60c4c91c7f168ab8df062d360f20d7badc30e2bc8f06 |