Grafanactl CLI
Notes
⚠️ Warning : grafanactl is being deprecated. We're bringing all our learnings and experience into the new, improved CLI tool gcx. This repository will be archived on June 1st, 2026.
Grafana CLI (grafanactl) is a command-line tool designed to simplify interaction with Grafana instances.
Release notes
0.0.3
· 1y+
Changelog
- 995cb67a39fc0de6b0ec9f2253d373754110c883: Don't try to read the response body on error (@K-Phoen)
- e0b4a9e8f22b5f41a54799f8f5de5a1faf198813: Display errors generated by the --script in a pretty format instead of just logging them (@K-Phoen)
- 6e6f8426ad81492ead9231fb7f44e44c23535561: Move the definition of fail.DetailedErr out of ./internal/ and handle them centrally in the cmd (@K-Phoen)
- 0e83307541851977a9cf82999f64ce0cff15b969: Handle more errors globally (@K-Phoen)
- 07662fa47869b39d61f4b81562eb7c00e75862df: Display suggestions in
config checkcommand (@K-Phoen) - 36ee3da2c5847d6c3f0f133497faf315070a7510: Bump github.com/grafana/grafana-app-sdk/logging in the go group (@dependabot[bot])
- 73742714901bacf6e8f945b0a5525bd8a5b0d6d1: Serve folders from the remote grafana instance when they don't exist in memory (@K-Phoen)
- 8c993133d768feb115bd5e8cb773e5d62927c931: Bootstrap a
resources editcommand (@K-Phoen) - 956fca456ee0f422fae4fba1ca5c5f31dc69ce04: Bump a few dependencies (@K-Phoen)
- e106e1e82c77700fbec259e32d1cad227039529a: Generate a reference of available environment variables (@K-Phoen)
- e6dd0b96fa89bfc1d032d50004f080b512b4890d: Add make targets for env var reference tasks (@K-Phoen)
- 9fabf796f7008eccdd7e4067105ec3e227158ca1: Update golangci-lint to v2 (@K-Phoen)
- a78a5e9577fc56a98899fecb0d0ec6788f1d8524: Print a brief status for push/pull operations (@K-Phoen)
- ab89fa4126426e7872e95f2f9a031207e7532f95: Add a "resource validate" command (@K-Phoen)
- ae0296210a8e579ed46bd4f4470a88f8a609a276: Print push/pull summaries on stdout (@K-Phoen)
- 72e94116e8d00b13ee8e7aec900ecb90f3e754fb: Reuse formatting codecs in config package (@K-Phoen)
- f717eae46e7668cf3d485ac27c9ea88f7f3b1070: Set better defaults when no configuration file exists (@K-Phoen)
- fa6c39be3408971aaf5f58ac11352d4a66ed1221: Fix
resources servecommand to work with subpath (@K-Phoen) - 9202ee6c500c1651ac73e94ca0c787bc16b18c87: Set json as default format when working with resources (@K-Phoen)
- a167829496b3a727475a444f8967b6aae360b08d: Add a "config list-contexts" command (@K-Phoen)
- 0812cc5ac0c8aeaf3b9e7cfca4b88cced6027aa4: Add some documentation on how to configure grafanactl (@K-Phoen)
- bc9e622d55a42756b907deeaa9b8275f2fc686e4: Respect HTTP config in resource server (@radiohead)
- 14f1a22c6e949eb64edb82eae2812b8a9e8a2ce7: buildvcs false (@ryantxu)
- 245543915f22ec274b37d6332547d4a60797e3fb: Build and publish documentation on release (@K-Phoen)
- d60c1c5cd340489d32cfe6a3932359022b69a615: Rebuild CLI reference (@K-Phoen)
- 3c054e6a9f6636953efa823dee702cf44e68bb9a: Add a small introduction in the documentation's homepage (@K-Phoen)
- e3f0c8085e2dbc3bd287c20f7701d8840191e636: update authlib (@ryantxu)
- 7c230186fdc8288ec6d3d28a51ab65e4bfa4919e: Make linter happy (@K-Phoen)
- b33f96f1f02e05cdc622cc6f3421b0328cf793cb: Add index page for reference (@K-Phoen)
- 661d3ba284537f19a2e7ed4b1b184458199d216b: Tweak navigation ordering (@K-Phoen)
- 3bb7eff2f50f5643b67463ba2bc72d102d1fc5ab: Add a guide on managing resources (@K-Phoen)
- 624a56e1a1290d45f05cd26792436a4bbf909851: Add a "Explore and modify resources" guide (@K-Phoen)
- 348d8e6f9a7b0a98315fb8c8d742934764150be5: Add a GitHub action to build + publish docs only (@K-Phoen)
- 676e36757b2ef1e25509c887ce97a756a4e001ed: Refactor discovery and clean up codebase (@radiohead)
- 5a834c2bc18d0cb27d8a1968de7901ae6f965d07: Fix serve (@radiohead)
- 54bfbc45b9a22e512a16105c4d48da0f74f01fad: Address code review issues (@radiohead)