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", Name: "admin",
Usage: "manage server settings", Usage: "manage server settings",
Commands: []*cli.Command{ Commands: []*cli.Command{
secret.Command,
registry.Command,
user.Command,
loglevel.Command, loglevel.Command,
registry.Command,
secret.Command,
user.Command,
}, },
} }

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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