cli: Refactor even more code out of cli package
Quite honestly, I'm trying to clean things up, and removing anything non-consequential will help!
This commit is contained in:
@@ -95,6 +95,10 @@ function consistent-imports() {
|
||||
if grep $'\t"github.com/purpleidea/mgmt/engine/util"' "$1"; then
|
||||
return 1
|
||||
fi
|
||||
# import as cliUtil
|
||||
if grep $'\t"github.com/purpleidea/mgmt/cli/util"' "$1"; then
|
||||
return 1
|
||||
fi
|
||||
if grep '"golang.org/x/net/context"' "$1"; then # use built-in context
|
||||
return 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user