@@ -29,69 +29,127 @@ import (
2929func AddCommands (cmd * cobra.Command , dockerCli command.Cli ) {
3030 cmd .AddCommand (
3131 // commonly used shorthands
32+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
3233 container .NewRunCommand (dockerCli ),
34+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
3335 container .NewExecCommand (dockerCli ),
36+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
3437 container .NewPsCommand (dockerCli ),
38+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
3539 image .NewBuildCommand (dockerCli ),
40+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
3641 image .NewPullCommand (dockerCli ),
42+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
3743 image .NewPushCommand (dockerCli ),
44+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
3845 image .NewImagesCommand (dockerCli ),
46+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
3947 registry .NewLoginCommand (dockerCli ),
48+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
4049 registry .NewLogoutCommand (dockerCli ),
50+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
4151 registry .NewSearchCommand (dockerCli ),
52+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
4253 system .NewVersionCommand (dockerCli ),
54+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
4355 system .NewInfoCommand (dockerCli ),
4456
4557 // management commands
58+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
4659 builder .NewBakeStubCommand (dockerCli ),
60+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
4761 builder .NewBuilderCommand (dockerCli ),
62+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
4863 checkpoint .NewCheckpointCommand (dockerCli ),
64+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
4965 container .NewContainerCommand (dockerCli ),
66+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
5067 context .NewContextCommand (dockerCli ),
68+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
5169 image .NewImageCommand (dockerCli ),
70+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
5271 manifest .NewManifestCommand (dockerCli ),
72+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
5373 network .NewNetworkCommand (dockerCli ),
74+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
5475 plugin .NewPluginCommand (dockerCli ),
76+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
5577 system .NewSystemCommand (dockerCli ),
78+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
5679 trust .NewTrustCommand (dockerCli ),
80+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
5781 volume .NewVolumeCommand (dockerCli ),
5882
5983 // orchestration (swarm) commands
84+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
6085 config .NewConfigCommand (dockerCli ),
86+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
6187 node .NewNodeCommand (dockerCli ),
88+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
6289 secret .NewSecretCommand (dockerCli ),
90+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
6391 service .NewServiceCommand (dockerCli ),
92+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
6493 stack .NewStackCommand (dockerCli ),
94+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
6595 swarm .NewSwarmCommand (dockerCli ),
6696
6797 // legacy commands may be hidden
98+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
6899 hide (container .NewAttachCommand (dockerCli )),
100+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
69101 hide (container .NewCommitCommand (dockerCli )),
102+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
70103 hide (container .NewCopyCommand (dockerCli )),
104+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
71105 hide (container .NewCreateCommand (dockerCli )),
106+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
72107 hide (container .NewDiffCommand (dockerCli )),
108+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
73109 hide (container .NewExportCommand (dockerCli )),
110+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
74111 hide (container .NewKillCommand (dockerCli )),
112+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
75113 hide (container .NewLogsCommand (dockerCli )),
114+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
76115 hide (container .NewPauseCommand (dockerCli )),
116+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
77117 hide (container .NewPortCommand (dockerCli )),
118+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
78119 hide (container .NewRenameCommand (dockerCli )),
120+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
79121 hide (container .NewRestartCommand (dockerCli )),
122+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
80123 hide (container .NewRmCommand (dockerCli )),
124+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
81125 hide (container .NewStartCommand (dockerCli )),
126+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
82127 hide (container .NewStatsCommand (dockerCli )),
128+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
83129 hide (container .NewStopCommand (dockerCli )),
130+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
84131 hide (container .NewTopCommand (dockerCli )),
132+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
85133 hide (container .NewUnpauseCommand (dockerCli )),
134+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
86135 hide (container .NewUpdateCommand (dockerCli )),
136+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
87137 hide (container .NewWaitCommand (dockerCli )),
138+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
88139 hide (image .NewHistoryCommand (dockerCli )),
140+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
89141 hide (image .NewImportCommand (dockerCli )),
142+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
90143 hide (image .NewLoadCommand (dockerCli )),
144+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
91145 hide (image .NewRemoveCommand (dockerCli )),
146+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
92147 hide (image .NewSaveCommand (dockerCli )),
148+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
93149 hide (image .NewTagCommand (dockerCli )),
150+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
94151 hide (system .NewEventsCommand (dockerCli )),
152+ //nolint:staticcheck // TODO: Remove when migration to cli/internal/commands.Register is complete. (see #6283)
95153 hide (system .NewInspectCommand (dockerCli )),
96154 )
97155}
0 commit comments