mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-03 23:26: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",
|
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,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,8 +25,8 @@ var Command = &cli.Command{
|
||||||
Commands: []*cli.Command{
|
Commands: []*cli.Command{
|
||||||
registryCreateCmd,
|
registryCreateCmd,
|
||||||
registryDeleteCmd,
|
registryDeleteCmd,
|
||||||
registryUpdateCmd,
|
|
||||||
registryShowCmd,
|
|
||||||
registryListCmd,
|
registryListCmd,
|
||||||
|
registryShowCmd,
|
||||||
|
registryUpdateCmd,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,8 +25,8 @@ var Command = &cli.Command{
|
||||||
Commands: []*cli.Command{
|
Commands: []*cli.Command{
|
||||||
secretCreateCmd,
|
secretCreateCmd,
|
||||||
secretDeleteCmd,
|
secretDeleteCmd,
|
||||||
secretUpdateCmd,
|
|
||||||
secretShowCmd,
|
|
||||||
secretListCmd,
|
secretListCmd,
|
||||||
|
secretShowCmd,
|
||||||
|
secretUpdateCmd,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -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,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,9 +29,9 @@ var Command = &cli.Command{
|
||||||
Commands: []*cli.Command{
|
Commands: []*cli.Command{
|
||||||
registryCreateCmd,
|
registryCreateCmd,
|
||||||
registryDeleteCmd,
|
registryDeleteCmd,
|
||||||
registryUpdateCmd,
|
|
||||||
registryShowCmd,
|
|
||||||
registryListCmd,
|
registryListCmd,
|
||||||
|
registryShowCmd,
|
||||||
|
registryUpdateCmd,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,9 +29,9 @@ var Command = &cli.Command{
|
||||||
Commands: []*cli.Command{
|
Commands: []*cli.Command{
|
||||||
secretCreateCmd,
|
secretCreateCmd,
|
||||||
secretDeleteCmd,
|
secretDeleteCmd,
|
||||||
secretUpdateCmd,
|
|
||||||
secretShowCmd,
|
|
||||||
secretListCmd,
|
secretListCmd,
|
||||||
|
secretShowCmd,
|
||||||
|
secretUpdateCmd,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -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,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,8 +25,8 @@ var Command = &cli.Command{
|
||||||
Commands: []*cli.Command{
|
Commands: []*cli.Command{
|
||||||
cronCreateCmd,
|
cronCreateCmd,
|
||||||
cronDeleteCmd,
|
cronDeleteCmd,
|
||||||
cronUpdateCmd,
|
|
||||||
cronShowCmd,
|
|
||||||
cronListCmd,
|
cronListCmd,
|
||||||
|
cronShowCmd,
|
||||||
|
cronUpdateCmd,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,9 +28,9 @@ var Command = &cli.Command{
|
||||||
Commands: []*cli.Command{
|
Commands: []*cli.Command{
|
||||||
registryCreateCmd,
|
registryCreateCmd,
|
||||||
registryDeleteCmd,
|
registryDeleteCmd,
|
||||||
registryUpdateCmd,
|
|
||||||
registryShowCmd,
|
|
||||||
registryListCmd,
|
registryListCmd,
|
||||||
|
registryShowCmd,
|
||||||
|
registryUpdateCmd,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,9 +28,9 @@ var Command = &cli.Command{
|
||||||
Commands: []*cli.Command{
|
Commands: []*cli.Command{
|
||||||
secretCreateCmd,
|
secretCreateCmd,
|
||||||
secretDeleteCmd,
|
secretDeleteCmd,
|
||||||
secretUpdateCmd,
|
|
||||||
secretShowCmd,
|
|
||||||
secretListCmd,
|
secretListCmd,
|
||||||
|
secretShowCmd,
|
||||||
|
secretUpdateCmd,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue