Public Access
22 lines
367 B
Go
22 lines
367 B
Go
package cmd
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var rootCmd = &cobra.Command{
|
|
Use: "keystone",
|
|
Short: "Keystone is a CLI tool for bootstrapping Go APIs",
|
|
Long: `Keystone is a CLI tool built by LKResuts for internal usage to bootstrap Go APIs`,
|
|
}
|
|
|
|
func Execute() {
|
|
if err := rootCmd.Execute(); err != nil {
|
|
fmt.Println(err)
|
|
os.Exit(1)
|
|
}
|
|
}
|