diff options
Diffstat (limited to 'cmd/podman/commands.go')
-rw-r--r-- | cmd/podman/commands.go | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/cmd/podman/commands.go b/cmd/podman/commands.go index fa3839a53..fadcca689 100644 --- a/cmd/podman/commands.go +++ b/cmd/podman/commands.go @@ -6,6 +6,8 @@ import ( "github.com/spf13/cobra" ) +const remoteclient = false + // Commands that the local client implements func getMainCommands() []*cobra.Command { rootCommands := []*cobra.Command{ @@ -14,12 +16,9 @@ func getMainCommands() []*cobra.Command { _createCommand, _diffCommand, _execCommand, - _killCommand, - generateCommand.Command, - podCommand.Command, - _containerKubeCommand, + _generateCommand, + _playCommand, _psCommand, - _loadCommand, _loginCommand, _logoutCommand, _logsCommand, @@ -31,7 +30,6 @@ func getMainCommands() []*cobra.Command { _restoreCommand, _rmCommand, _runCommand, - _saveCommand, _searchCommand, _signCommand, _startCommand, @@ -40,7 +38,6 @@ func getMainCommands() []*cobra.Command { _topCommand, _umountCommand, _unpauseCommand, - volumeCommand.Command, _waitCommand, } @@ -54,7 +51,6 @@ func getMainCommands() []*cobra.Command { func getImageSubCommands() []*cobra.Command { return []*cobra.Command{ _loadCommand, - _saveCommand, _signCommand, } } @@ -96,19 +92,8 @@ func getContainerSubCommands() []*cobra.Command { // Commands that the local client implements func getPodSubCommands() []*cobra.Command { return []*cobra.Command{ - _podCreateCommand, - _podExistsCommand, - _podInspectCommand, - _podKillCommand, - _podPauseCommand, - _podPsCommand, - _podRestartCommand, - _podRmCommand, - _podStartCommand, _podStatsCommand, - _podStopCommand, _podTopCommand, - _podUnpauseCommand, } } @@ -137,5 +122,6 @@ func getTrustSubCommands() []*cobra.Command { func getSystemSubCommands() []*cobra.Command { return []*cobra.Command{ _pruneSystemCommand, + _renumberCommand, } } |