alibaba/kt-connect

View on GitHub
pkg/kt/command/options/global.go

Summary

Maintainability
A
3 hrs
Test Coverage

Function GlobalFlags has 100 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func GlobalFlags() []OptionConfig {
    flags := []OptionConfig{
        {
            Target:       "Namespace",
            Alias:        "n",
Severity: Major
Found in pkg/kt/command/options/global.go - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status