Metadata-Version: 2.1
Name: gitno
Version: 0.1.3
Summary: A commandline gitignore generator
Author-email: Ian Andwati <andwatiian@gmail.com>
License: Copyright (c) 2023 Ian Andwati
        
        Permission is hereby granted, free of charge, to any person obtaining
        a copy of this software and associated documentation files (the
        "Software"), to deal in the Software without restriction, including
        without limitation the rights to use, copy, modify, merge, publish,
        distribute, sublicense, and/or sell copies of the Software, and to
        permit persons to whom the Software is furnished to do so, subject to
        the following conditions:
        
        The above copyright notice and this permission notice shall be
        included in all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
        EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
        MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
        NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
        LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
        OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
        WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project-URL: homepage, https://github.com/andwati/gitno
Project-URL: documentation, https://github.com/andwati/gitno
Project-URL: repository, https://github.com/andwati/gitno.git
Project-URL: changelog, https://github.com/andwati/gitno
Keywords: git,gitignore,cli
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: click
Requires-Dist: tqdm

# gitno

[![PyPI version](https://img.shields.io/pypi/v/gitno.svg)](https://pypi.org/project/gitno/)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/andwati>/gitno/blob/main/LICENSE)
[![Python versions](https://img.shields.io/pypi/pyversions/gitno.svg)](https://pypi.org/project/gitno/)

[![codecov](https://codecov.io/gh/andwati/gitno/branch/main/graph/badge.svg?token=3M4XOKD0RP)](https://codecov.io/gh/andwati/gitno)

Gitno is a command-line tool that generates `.gitignore` files based on the templates available in the [github/gitignore](https://github.com/github/gitignore) repository.

## Installation

You can install `gitno` using pip:

```sh
pip install gitno
```

## Usage

Create a [GITHUB_ACCESS_TOKEN](https://github.com/settings/personal-access-tokens/new) in your settings then add it to your environment variables

Initialize a local copy of the .gitignore files by running:

```sh
gitno update
```

To generate a .gitignore file on the current working directory, run the generate command followed by the template number or name:

```sh
gitno generate
```

To see a list of available templates, run the list command:

```sh
gitno list
```

## Contributing

Contributions are welcome! Please see [CONTRIBUTING.md](./CONTRIBUTING.md) for details.

## Test coverage

![Coverage](https://codecov.io/gh/andwati/gitno/branch/main/graphs/sunburst.svg?token=3M4XOKD0RP)

## License

This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.
