Skip to content

Commit

Permalink
fix command descriptions and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alex067 committed Jan 13, 2025
1 parent 0f4bb2d commit cbc6819
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ jobs:
RELEASE_BRANCHES: main

- name: Display new version
run: echo "Created new version: ${{ steps.tagger.outputs.new_tag }}"
run: |
echo "Created new version: ${{ steps.tagger.outputs.new_tag }}"
3 changes: 1 addition & 2 deletions cmd/clear/all.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ var (

var allCmd = &cobra.Command{
Use: "all",
Short: "A brief description of your command",
Long: `foobar`,
Short: "Clears all watcher resources on Grafana.",
PreRun: func(cmd *cobra.Command, args []string) {
err := configContext.ReadConfigFile(gcf)
if err != nil {
Expand Down
3 changes: 1 addition & 2 deletions cmd/clear/clear.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ var (
// configCmd represents the config command
var ClearCmd = &cobra.Command{
Use: "clear",
Short: "A brief description of your command",
Long: ``,
Short: "Clears watcher resources on Grafana.",
}

func init() {
Expand Down
3 changes: 1 addition & 2 deletions cmd/start/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ type GrafanaDashboardJson struct {
// startCmd represents the start command
var dashboardCmd = &cobra.Command{
Use: "dashboard",
Short: "A brief description of your command",
Long: `foobar`,
Short: "Watch and sync dashboard changes.",
PreRun: func(cmd *cobra.Command, args []string) {
err := configContext.ReadConfigFile(gcf)
if err != nil {
Expand Down
3 changes: 1 addition & 2 deletions cmd/start/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ var (
// configCmd represents the config command
var StartCmd = &cobra.Command{
Use: "start",
Short: "A brief description of your command",
Long: ``,
Short: "Start watching for resource changes on Grafana.",
}

func init() {
Expand Down

0 comments on commit cbc6819

Please sign in to comment.