diff options
author | baude <bbaude@redhat.com> | 2019-02-20 15:02:18 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-02-21 08:40:42 -0600 |
commit | e91ec38a70f4755d06972a0b65edd1f2e5366581 (patch) | |
tree | 4f5792f6662ebe43bee3331354c13585351eb81e /cmd/podman/pod.go | |
parent | 4934bf23272f185fa9f08d0ba890c5a0eb4ed14d (diff) | |
download | podman-e91ec38a70f4755d06972a0b65edd1f2e5366581.tar.gz podman-e91ec38a70f4755d06972a0b65edd1f2e5366581.tar.bz2 podman-e91ec38a70f4755d06972a0b65edd1f2e5366581.zip |
enable podman-remote pod rm
add the ability to delete a pod from the remote client.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/pod.go')
-rw-r--r-- | cmd/podman/pod.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/podman/pod.go b/cmd/podman/pod.go index e988875ab..cf87730d7 100644 --- a/cmd/podman/pod.go +++ b/cmd/podman/pod.go @@ -18,7 +18,13 @@ var podCommand = cliconfig.PodmanCommand{ }, } +//podSubCommands are implemented both in local and remote clients +var podSubCommands = []*cobra.Command{ + _podRmCommand, +} + func init() { + podCommand.AddCommand(podSubCommands...) podCommand.AddCommand(getPodSubCommands()...) podCommand.SetUsageTemplate(UsageTemplate()) } |