cmd/packageImport.go
Function newPackageImportCommand
has 52 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func newPackageImportCommand() *packageImportCommand {
var remoteRepos, directories, configs, packages, collections []string
cmd := &cobra.Command{
Use: "import FROM [FROM...]",
Function newPackageImportCommand
has 5 return statements (exceeds 4 allowed). Open
Open
func newPackageImportCommand() *packageImportCommand {
var remoteRepos, directories, configs, packages, collections []string
cmd := &cobra.Command{
Use: "import FROM [FROM...]",