Metadata-Version: 2.1
Name: git-ignores
Version: 0.1.1
Summary: .gitignore generator built as a git plugin
Author: Josh Burns
Author-email: joshyburnss@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Version Control :: Git
Requires-Dist: click (>=8.1.3,<9.0.0)
Requires-Dist: requests (>=2.28.1,<3.0.0)
Description-Content-Type: text/markdown

# git-ignores

Git plugin that generates a .gitignore for your project based on Githubs gitignore templates.

## Usage

The plugin provides a new git subcommand `ignores`. which takes the following options.

- `--template` - The name of the gitignore template from 
  [this repo](https://github.com/github/gitignore) (_i.e_ `Python` or `Javascript`)

- `--append` - Instead of failing or replacing content, `--append` will tell the 
script to simply append the gitignore entries instead of replacing the file wholesale.

- `--force` - Replace the .gitignore file by force with the new template.

> You can also run `git-ignores --help` to view the help message. Note that `git ignores --help` returns an error as git tries to load a man page when --help is called. A man-page will be shipped in a future update.

### Example

```
$ git ignores -t Python --force
```

## Installation

__FIXME__

## Contributing

If you wish to contribute to the project. Here a few things to note.

- Python version used in development: 3.11
- This project uses the [Poetry](https://python-poetry.org/) build tool.

## Todo
- [ ] Tests
- [ ] Cleanup and validate package metadata
- [ ] Publish on PyPi
