jpictl: initial cmd placeholder

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2023-08-21 17:34:45 +00:00
parent ee1d22e994
commit f714210b37
5 changed files with 123 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
// Package main implements the jpictl command
package main
import (
"github.com/spf13/cobra"
)
const (
// CmdName is the name of the executable
CmdName = "jpictl"
)
var rootCmd = &cobra.Command{
Use: CmdName,
Short: "control tool for jpi.cloud",
}
func main() {
if err := rootCmd.Execute(); err != nil {
fatal(err, "")
}
}