Skip to content

Commit 4bb9ac2

Browse files
committed
Sort ctr commands alphabetically
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
1 parent d0166c4 commit 4bb9ac2

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

cmd/ctr/main.go

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -58,32 +58,32 @@ containerd CLI
5858
},
5959
}
6060
app.Commands = append([]cli.Command{
61-
imageCommand,
62-
pullCommand,
63-
fetchCommand,
64-
fetchObjectCommand,
65-
pushCommand,
66-
pushObjectCommand,
67-
containersCommand,
68-
checkpointCommand,
69-
runCommand,
61+
applyCommand,
7062
attachCommand,
63+
checkpointCommand,
64+
containersCommand,
65+
contentCommand,
7166
deleteCommand,
72-
namespacesCommand,
7367
eventsCommand,
74-
taskListCommand,
68+
execCommand,
69+
fetchCommand,
70+
fetchObjectCommand,
71+
imageCommand,
7572
infoCommand,
7673
killCommand,
77-
pprofCommand,
78-
execCommand,
74+
namespacesCommand,
7975
pauseCommand,
76+
pprofCommand,
77+
psCommand,
78+
pullCommand,
79+
pushCommand,
80+
pushObjectCommand,
8081
resumeCommand,
82+
rootfsCommand,
83+
runCommand,
8184
snapshotCommand,
85+
taskListCommand,
8286
versionCommand,
83-
psCommand,
84-
applyCommand,
85-
rootfsCommand,
86-
contentCommand,
8787
}, extraCmds...)
8888
app.Before = func(context *cli.Context) error {
8989
if context.GlobalBool("debug") {

0 commit comments

Comments
 (0)