https://github.com/souvikinator/spawn-ignore
simple bash script to generate .gitignore file of multiple languages
https://github.com/souvikinator/spawn-ignore
git github gitignore gitignore-append gitignore-generator hacktoberfest hacktoberfest-accepted hacktoberfest2021
Last synced: 11 months ago
JSON representation
simple bash script to generate .gitignore file of multiple languages
- Host: GitHub
- URL: https://github.com/souvikinator/spawn-ignore
- Owner: souvikinator
- License: gpl-3.0
- Created: 2021-07-21T10:42:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-21T10:44:03.000Z (over 4 years ago)
- Last Synced: 2025-01-28T22:46:43.585Z (about 1 year ago)
- Topics: git, github, gitignore, gitignore-append, gitignore-generator, hacktoberfest, hacktoberfest-accepted, hacktoberfest2021
- Language: Shell
- Homepage:
- Size: 14.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spawnignore
## Usage
1) `mv spawnignore.sh /usr/local/bin/`
2) `chmod +x /usr/local/bin/spawnignore.sh`
**How to run?**
`spawnignore.sh`
```
spawnignore v1.0.0
Generate gitignore file in seconds.
Usage:
spawnignore.sh [options...] [languages...]
Eptions:
-h --help to display usage
-d --dir directory where gitignore needs to be generated[default: current dir]
-l --list lists all available gitignores
Examples:
> Generating gitignore file of a single language
spawnignore.sh C++
> Generating gitignore file of a multiple languages
spawnignore.sh C++ C Fortran
> Listing all available gitignores
spawnignore.sh -l
> Generate gitignore in a specific directory
spawnignore.sh -d "path/to/dir" C++ C Fortran
```