You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
382 B
27 lines
382 B
// Package main implements the jpictl command |
|
package main |
|
|
|
import ( |
|
_ "embed" |
|
|
|
"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", |
|
Version: version, |
|
} |
|
) |
|
|
|
func main() { |
|
if err := rootCmd.Execute(); err != nil { |
|
fatal(err, "") |
|
} |
|
}
|
|
|