Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

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 git@github.com: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%