mirror of
https://github.com/onyx-and-iris/ignr.git
synced 2026-04-18 23:33:33 +00:00
first commit
This commit is contained in:
51
README.md
Normal file
51
README.md
Normal file
@@ -0,0 +1,51 @@
|
||||

|
||||

|
||||

|
||||
|
||||
# ignr-cli
|
||||
|
||||
Simple no-frills .gitignore generator backed by the Github API.
|
||||
|
||||

|
||||
|
||||
## Install
|
||||
|
||||
```console
|
||||
go install github.com/onyx-and-iris/ignr-cli@latest
|
||||
```
|
||||
|
||||
## Authentication
|
||||
|
||||
You can run this tool without authenticating but requests will have a stricter rate limiting.
|
||||
|
||||
If you prefer to authenticate you can pass a token in the following ways:
|
||||
|
||||
*Flag*
|
||||
|
||||
- --token/-t: Github API Token
|
||||
|
||||
*Environment Variable*
|
||||
|
||||
```bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
export GH_TOKEN=<API Token>
|
||||
```
|
||||
|
||||
## Commands
|
||||
|
||||
### New
|
||||
|
||||
Trigger the selection prompt.
|
||||
|
||||
```console
|
||||
ignr-cli new
|
||||
```
|
||||
|
||||
The prompt filter can activated by pressing `/`:
|
||||
|
||||

|
||||
|
||||
## Special Thanks
|
||||
|
||||
- [Charm](https://github.com/charmbracelet) for their awesome CLI packages.
|
||||
Reference in New Issue
Block a user