pkg/cli/cli.go
Function InitializeCommands
has 57 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func InitializeCommands() {
// Here we attack VCFG modification flags to relevant commands. Because of
// the order Go runs init functions this is the safest place to do this.
addModifyFlags(buildCmd.Flags())
exported function InitializeCommands should have comment or be unexported Open
Open
func InitializeCommands() {
- Exclude checks
exported var RootCommand should have comment or be unexported Open
Open
var RootCommand = &cobra.Command{
- Exclude checks