Skip to content

mateothegreat/go-gister

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Gist Manager CLI

CLI tool to create and manage GitHub gists.

alt text

  • 🚀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

Installation

go install github.com/mateothegreat/gister

Usage

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

Commands

Command Description
create Create a new gist
list (todo) List all gists
delete (todo) Delete a gist
update (todo) Update a gist

About

CLI tool to create and manage GitHub gists.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages