Skip to content
forked from knqyf263/pet

Simple command-line snippet manager, written in Go.

License

Notifications You must be signed in to change notification settings

grafana/hg-snippets

 
 

Repository files navigation

Grappet is a snippet manager for Hosted Grafana that allows us to share snippets via the hg-snippets-config repo. It is a fork of Pet.

Quickstart

Clone the repo, run the setup, and list the commands:

git clone [email protected]:grafana/hg-snippets.git
cd hg-snippets
make setup
./grappet list

Syncing snippets

All our snippets are stored in a private repo, hg-snippets-config. This repo is nested within this one. To update snippets, just pull in changes from that repo:

cd ./hg-snippets-config && git pull

To add your snippets to shared repo, just commit them, push, and make a PR:

cd ./hg-snippets-config && git push

About

Simple command-line snippet manager, written in Go.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 93.2%
  • Shell 6.1%
  • Makefile 0.7%