Skip to content

Commit

Permalink
feat(cmd/utils): Add gobble utils subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejsika committed Mar 28, 2023
1 parent e5dbefe commit cc416dc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
_ "github.com/sikalabs/gobble/cmd/list_schema_versions"
"github.com/sikalabs/gobble/cmd/root"
_ "github.com/sikalabs/gobble/cmd/run"
_ "github.com/sikalabs/gobble/cmd/utils"
_ "github.com/sikalabs/gobble/cmd/version"
"github.com/spf13/cobra"
)
Expand Down
16 changes: 16 additions & 0 deletions cmd/utils/utils.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package utils

import (
"github.com/sikalabs/gobble/cmd/root"
"github.com/spf13/cobra"
)

var Cmd = &cobra.Command{
Use: "utils",
Short: "Built-in utils",
Args: cobra.NoArgs,
}

func init() {
root.Cmd.AddCommand(Cmd)
}

0 comments on commit cc416dc

Please # to comment.