gi-cli

CLI to easily create .gitignore files


Keywords
cli, gitignore, python
License
MIT
Install
pip install gi-cli==0.0.4

Documentation

gi

Easily create a .gitignore

PyPI PyPI - Downloads GitHub

Usage

# Install it
$ pip install gi-cli

# Add a language framework
$ gi add python

# Or add multiple
$ git add node python

# Clear your gitignore
$ git clear

# Uninstall it
$ pip uninstall gi-cli

Note: Mac or Linux users may have to use pip3 instead of pip.

Build setup

Clone or fork the repository, then run the commands:

poetry shell
poetry install

Add the pre-commit hooks:

pre-commit install

Editor settings

{
  "python.formatting.provider": "black",
  "editor.formatOnSave": true,
  "[python]": {
    "editor.insertSpaces": true,
    "editor.detectIndentation": false,
    "editor.tabSize": 4
  },
  "python.linting.enabled": true,
  "python.linting.flake8Enabled": true,
  "python.linting.pylintEnabled": false,

  "python.pythonPath": "/Users/username-here/Library/Caches/pypoetry/virtualenvs/xxx-py3.7"
}

License

MIT