()
| 21 | ) |
| 22 | |
| 23 | func init() { |
| 24 | rootCmd.AddCommand(installCmd) |
| 25 | installCmd.Flags().StringVarP(&Flavour, "flavour", "f", "all", "Custom flavour") |
| 26 | installCmd.Flags().StringVarP(&Mode, "mode", "m", "default", "Custom mode") |
| 27 | installCmd.Flags().BoolVarP(&Force, "Force", "F", false, "Forcefully remove the cloned repository and install") |
| 28 | } |
| 29 | |
| 30 | var installCmd = &cobra.Command{ |
| 31 | Use: "install [flags] packages...", |
nothing calls this directly
no outgoing calls
no test coverage detected