diff options
author | haircommander <pehunt@redhat.com> | 2018-07-09 13:04:29 -0400 |
---|---|---|
committer | haircommander <pehunt@redhat.com> | 2018-07-13 09:05:03 -0400 |
commit | 1aad3fd96b61705243e8f6ae35f65946916aa8a5 (patch) | |
tree | f4dfc5822357e04f556fd64ab8128a36619f1f17 /cmd/podman/pod.go | |
parent | a2dde5a50d21f8857a57d412a8a1c4c8f731a8d1 (diff) | |
download | podman-1aad3fd96b61705243e8f6ae35f65946916aa8a5.tar.gz podman-1aad3fd96b61705243e8f6ae35f65946916aa8a5.tar.bz2 podman-1aad3fd96b61705243e8f6ae35f65946916aa8a5.zip |
Podman pod create/rm commands with man page and tests.
Includes a very stripped down version of podman pod ps, just for testing
Signed-off-by: haircommander <pehunt@redhat.com>
Diffstat (limited to 'cmd/podman/pod.go')
-rw-r--r-- | cmd/podman/pod.go | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/cmd/podman/pod.go b/cmd/podman/pod.go new file mode 100644 index 000000000..f32ae4626 --- /dev/null +++ b/cmd/podman/pod.go @@ -0,0 +1,24 @@ +package main + +import ( + "github.com/urfave/cli" +) + +var ( + podDescription = ` + podman pod + + manage pods +` + podCommand = cli.Command{ + Name: "pod", + Usage: "Manage pods", + Description: podDescription, + UseShortOptionHandling: true, + Subcommands: []cli.Command{ + podCreateCommand, + podPsCommand, + podRmCommand, + }, + } +) |