vorteil/vorteil

View on GitHub
pkg/cli/cli.go

Summary

Maintainability
A
1 hr
Test Coverage
F
2%

Function InitializeCommands has 57 lines of code (exceeds 50 allowed). Consider refactoring.
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())
Severity: Minor
Found in pkg/cli/cli.go - About 1 hr to fix

    exported function InitializeCommands should have comment or be unexported
    Open

    func InitializeCommands() {
    Severity: Minor
    Found in pkg/cli/cli.go by golint

    exported var RootCommand should have comment or be unexported
    Open

    var RootCommand = &cobra.Command{
    Severity: Minor
    Found in pkg/cli/cli.go by golint

    There are no issues that match your filters.

    Category
    Status