mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-11 11:06:29 +00:00
Sort cli commands alphabetically (#4489)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
parent
bb1461d5d8
commit
0f87ddc057
13 changed files with 40 additions and 40 deletions
|
@ -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,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -25,8 +25,8 @@ var Command = &cli.Command{
|
|||
Commands: []*cli.Command{
|
||||
registryCreateCmd,
|
||||
registryDeleteCmd,
|
||||
registryUpdateCmd,
|
||||
registryShowCmd,
|
||||
registryListCmd,
|
||||
registryShowCmd,
|
||||
registryUpdateCmd,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -25,8 +25,8 @@ var Command = &cli.Command{
|
|||
Commands: []*cli.Command{
|
||||
secretCreateCmd,
|
||||
secretDeleteCmd,
|
||||
secretUpdateCmd,
|
||||
secretShowCmd,
|
||||
secretListCmd,
|
||||
secretShowCmd,
|
||||
secretUpdateCmd,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -23,9 +23,9 @@ var Command = &cli.Command{
|
|||
Name: "user",
|
||||
Usage: "manage users",
|
||||
Commands: []*cli.Command{
|
||||
userListCmd,
|
||||
userShowCmd,
|
||||
userAddCmd,
|
||||
userListCmd,
|
||||
userRemoveCmd,
|
||||
userShowCmd,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -29,9 +29,9 @@ var Command = &cli.Command{
|
|||
Commands: []*cli.Command{
|
||||
registryCreateCmd,
|
||||
registryDeleteCmd,
|
||||
registryUpdateCmd,
|
||||
registryShowCmd,
|
||||
registryListCmd,
|
||||
registryShowCmd,
|
||||
registryUpdateCmd,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -29,9 +29,9 @@ var Command = &cli.Command{
|
|||
Commands: []*cli.Command{
|
||||
secretCreateCmd,
|
||||
secretDeleteCmd,
|
||||
secretUpdateCmd,
|
||||
secretShowCmd,
|
||||
secretListCmd,
|
||||
secretShowCmd,
|
||||
secretUpdateCmd,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ var Command = &cli.Command{
|
|||
Name: "log",
|
||||
Usage: "manage logs",
|
||||
Commands: []*cli.Command{
|
||||
logShowCmd,
|
||||
logPurgeCmd,
|
||||
logShowCmd,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@ var Command = &cli.Command{
|
|||
Commands: []*cli.Command{
|
||||
cronCreateCmd,
|
||||
cronDeleteCmd,
|
||||
cronUpdateCmd,
|
||||
cronShowCmd,
|
||||
cronListCmd,
|
||||
cronShowCmd,
|
||||
cronUpdateCmd,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -28,9 +28,9 @@ var Command = &cli.Command{
|
|||
Commands: []*cli.Command{
|
||||
registryCreateCmd,
|
||||
registryDeleteCmd,
|
||||
registryUpdateCmd,
|
||||
registryShowCmd,
|
||||
registryListCmd,
|
||||
registryShowCmd,
|
||||
registryUpdateCmd,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -28,9 +28,9 @@ var Command = &cli.Command{
|
|||
Commands: []*cli.Command{
|
||||
secretCreateCmd,
|
||||
secretDeleteCmd,
|
||||
secretUpdateCmd,
|
||||
secretShowCmd,
|
||||
secretListCmd,
|
||||
secretShowCmd,
|
||||
secretUpdateCmd,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue