CLI tool to create and manage GitHub gists.
- 🚀Create a gist from a directory recursively.
- 🔍 Search for a gist by description, filename, or file content.
- 📝 Edit a gist locally in your editor of choice.
- 🗑️ Bulk delete gists based on description, filename, or file content.
Example gist created from 18 files in the services
directory of the nvr.ai repository is at https://gist.github.com/mateothegreat/f4a09f9e44d4f15723bf283d8e4947c6
go install github.com/mateothegreat/gister
Your GitHub token is required to create a gist. You can create a token here and set it as the GITHUB_TOKEN
environment variable or pass it as the --token
flag.
gister create --username mateothegreat \
--description "Kubernetes Infra Stack" \
--token $GITHUB_TOKEN \
--path /Users/matthewdavis/workspace/nvr.ai/infra/services
Command | Description |
---|---|
create | Create a new gist |
list (todo) | List all gists |
delete (todo) | Delete a gist |
update (todo) | Update a gist |