fix: Clean up root command.
This commit is contained in:
1 parent
e8503ab141
commit
1c592f5e1d
1 file changed
-9
@@ -7,18 +7,9 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Get a root cobra command going, then code for generating:
|
|
||||||
// - Generate CA key
|
|
||||||
// - Generate CA cert
|
|
||||||
// - Generate server cert/key
|
|
||||||
// - Generate client cert/key
|
|
||||||
|
|
||||||
var rootCmd = &cobra.Command{
|
var rootCmd = &cobra.Command{
|
||||||
Use: "hmpki",
|
Use: "hmpki",
|
||||||
Short: "Generate keys/certs with set roles for mTLS auth between services",
|
Short: "Generate keys/certs with set roles for mTLS auth between services",
|
||||||
// Run: func(cmd *cobra.Command, args []string) {
|
|
||||||
// fmt.Println("I'm a cobra command!")
|
|
||||||
// },
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func Execute() {
|
func Execute() {
|
||||||
|
|||||||
Reference in new issue
Block a user