17 lines
212 B
Go
17 lines
212 B
Go
|
package cmd
|
||
|
|
||
|
import (
|
||
|
"github.com/spf13/cobra"
|
||
|
)
|
||
|
|
||
|
var itemCmd = &cobra.Command{
|
||
|
Use: "item",
|
||
|
Short: "Manage items",
|
||
|
Long: `Add, edit, or deactivate items.
|
||
|
`,
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
rootCmd.AddCommand(itemCmd)
|
||
|
}
|