()
| 30 | } |
| 31 | |
| 32 | func init() { |
| 33 | createCmd := newCreateCmd(GetCategoryDB(GetDb())) |
| 34 | categoryCmd.AddCommand(createCmd) |
| 35 | createCmd.Flags().StringP("name", "n", "", "Name of the category") |
| 36 | createCmd.Flags().StringP("description", "d", "", "Description of the category") |
| 37 | createCmd.MarkFlagsRequiredTogether("name", "description") |
| 38 | } |
nothing calls this directly
no test coverage detected