Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antoinegagne/gitignore
https://github.com/antoinegagne/gitignore
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/antoinegagne/gitignore
- Owner: AntoineGagne
- License: mit
- Created: 2020-11-11T03:06:50.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-06T20:20:48.000Z (5 months ago)
- Last Synced: 2024-10-24T23:29:32.295Z (about 2 months ago)
- Language: Rust
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# gitignore
Use [gitignore.io](https://www.toptal.com/developers/gitignore) API to fetch
`.gitignore` content according to a specified set of tools/languages.## Usage
### Listing Tools/Languages
To list the allowed tools/languages, the following command may be used:
```sh
gitignore list
```### Creating a `.gitignore`
To create a `.gitignore`, the following command may be used:
```sh
gitignore create ${TOOLS} > .gitignore
```For example, to create a `.gitignore` for working on a Rust project in a Linux
environment with the Vim editor:```sh
gitignore create rust linux vim > .gitignore
```## Compiling
To compile this project, the following command can be used:
```sh
cargo build --release
```## License
This projet is licensed under the MIT license.