Sort cli commands alphabetically (#4489)

Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
qwerty287 2024-11-30 20:11:57 +02:00 committed by GitHub
parent bb1461d5d8
commit 0f87ddc057
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 40 additions and 40 deletions

View file

@ -28,9 +28,9 @@ var Command = &cli.Command{
Name: "admin",
Usage: "manage server settings",
Commands: []*cli.Command{
secret.Command,
registry.Command,
user.Command,
loglevel.Command,
registry.Command,
secret.Command,
user.Command,
},
}

View file

@ -25,8 +25,8 @@ var Command = &cli.Command{
Commands: []*cli.Command{
registryCreateCmd,
registryDeleteCmd,
registryUpdateCmd,
registryShowCmd,
registryListCmd,
registryShowCmd,
registryUpdateCmd,
},
}

View file

@ -25,8 +25,8 @@ var Command = &cli.Command{
Commands: []*cli.Command{
secretCreateCmd,
secretDeleteCmd,
secretUpdateCmd,
secretShowCmd,
secretListCmd,
secretShowCmd,
secretUpdateCmd,
},
}

View file

@ -23,9 +23,9 @@ var Command = &cli.Command{
Name: "user",
Usage: "manage users",
Commands: []*cli.Command{
userListCmd,
userShowCmd,
userAddCmd,
userListCmd,
userRemoveCmd,
userShowCmd,
},
}

View file

@ -29,9 +29,9 @@ var Command = &cli.Command{
Commands: []*cli.Command{
registryCreateCmd,
registryDeleteCmd,
registryUpdateCmd,
registryShowCmd,
registryListCmd,
registryShowCmd,
registryUpdateCmd,
},
}

View file

@ -29,9 +29,9 @@ var Command = &cli.Command{
Commands: []*cli.Command{
secretCreateCmd,
secretDeleteCmd,
secretUpdateCmd,
secretShowCmd,
secretListCmd,
secretShowCmd,
secretUpdateCmd,
},
}

View file

@ -23,7 +23,7 @@ var Command = &cli.Command{
Name: "log",
Usage: "manage logs",
Commands: []*cli.Command{
logShowCmd,
logPurgeCmd,
logShowCmd,
},
}

View file

@ -33,20 +33,20 @@ var Command = &cli.Command{
Name: "pipeline",
Usage: "manage pipelines",
Commands: []*cli.Command{
buildPipelineListCmd(),
pipelineLastCmd,
pipelineShowCmd,
pipelineStopCmd,
pipelineStartCmd,
pipelineApproveCmd,
pipelineDeclineCmd,
pipelineQueueCmd,
pipelineKillCmd,
pipelinePsCmd,
pipelineCreateCmd,
log.Command,
pipelineDeclineCmd,
deploy.Command,
pipelineKillCmd,
pipelineLastCmd,
buildPipelineListCmd(),
log.Command,
pipelinePsCmd,
pipelinePurgeCmd,
pipelineQueueCmd,
pipelineShowCmd,
pipelineStartCmd,
pipelineStopCmd,
},
}

View file

@ -25,8 +25,8 @@ var Command = &cli.Command{
Commands: []*cli.Command{
cronCreateCmd,
cronDeleteCmd,
cronUpdateCmd,
cronShowCmd,
cronListCmd,
cronShowCmd,
cronUpdateCmd,
},
}

View file

@ -28,9 +28,9 @@ var Command = &cli.Command{
Commands: []*cli.Command{
registryCreateCmd,
registryDeleteCmd,
registryUpdateCmd,
registryShowCmd,
registryListCmd,
registryShowCmd,
registryUpdateCmd,
},
}

View file

@ -27,16 +27,16 @@ var Command = &cli.Command{
Name: "repo",
Usage: "manage repositories",
Commands: []*cli.Command{
repoListCmd,
repoShowCmd,
repoAddCmd,
repoUpdateCmd,
repoChownCmd,
cron.Command,
repoListCmd,
registry.Command,
repoRemoveCmd,
repoRepairCmd,
repoChownCmd,
repoSyncCmd,
registry.Command,
secret.Command,
cron.Command,
repoShowCmd,
repoSyncCmd,
repoUpdateCmd,
},
}

View file

@ -28,9 +28,9 @@ var Command = &cli.Command{
Commands: []*cli.Command{
secretCreateCmd,
secretDeleteCmd,
secretUpdateCmd,
secretShowCmd,
secretListCmd,
secretShowCmd,
secretUpdateCmd,
},
}

View file

@ -43,12 +43,12 @@ func newApp() *cli.Command {
app.Suggest = true
app.Commands = []*cli.Command{
admin.Command,
org.Command,
repo.Command,
pipeline.Command,
exec.Command,
info.Command,
lint.Command,
org.Command,
pipeline.Command,
repo.Command,
setup.Command,
update.Command,
}