summaryrefslogtreecommitdiff
path: root/cmd/podman/commands_remoteclient.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-08 20:12:38 +0100
committerGitHub <noreply@github.com>2019-02-08 20:12:38 +0100
commitafd4d5f4a4b05f421e6f336b4d74a0d808be57ed (patch)
tree2ccb4a0bd9bda70c1c258dcb1b8aca8961d9ad30 /cmd/podman/commands_remoteclient.go
parent962850c6e0dfcee926af31fc0ad24f1f6c26f8ac (diff)
parent25a3923b61a5ca014318e6d957f68abd03947297 (diff)
downloadpodman-afd4d5f4a4b05f421e6f336b4d74a0d808be57ed.tar.gz
podman-afd4d5f4a4b05f421e6f336b4d74a0d808be57ed.tar.bz2
podman-afd4d5f4a4b05f421e6f336b4d74a0d808be57ed.zip
Merge pull request #2274 from baude/cobraprep
Migrate to cobra CLI
Diffstat (limited to 'cmd/podman/commands_remoteclient.go')
-rw-r--r--cmd/podman/commands_remoteclient.go45
1 files changed, 34 insertions, 11 deletions
diff --git a/cmd/podman/commands_remoteclient.go b/cmd/podman/commands_remoteclient.go
index 0adbd7b4c..80083eab9 100644
--- a/cmd/podman/commands_remoteclient.go
+++ b/cmd/podman/commands_remoteclient.go
@@ -2,24 +2,47 @@
package main
-import "github.com/urfave/cli"
+import (
+ "github.com/spf13/cobra"
+)
-func getAppCommands() []cli.Command {
- return []cli.Command{}
+//import "github.com/urfave/cli"
+//
+func getAppCommands() []*cobra.Command {
+ return []*cobra.Command{}
}
-func getImageSubCommands() []cli.Command {
- return []cli.Command{}
+func getImageSubCommands() []*cobra.Command {
+ return []*cobra.Command{}
}
-func getContainerSubCommands() []cli.Command {
- return []cli.Command{}
+func getContainerSubCommands() []*cobra.Command {
+ return []*cobra.Command{}
}
-func getSystemSubCommands() []cli.Command {
- return []cli.Command{}
+func getPodSubCommands() []*cobra.Command {
+ return []*cobra.Command{}
}
-func getMainAppFlags() []cli.Flag {
- return []cli.Flag{}
+func getVolumeSubCommands() []*cobra.Command {
+ return []*cobra.Command{}
+}
+
+func getGenerateSubCommands() []*cobra.Command {
+ return []*cobra.Command{}
+}
+
+func getPlaySubCommands() []*cobra.Command {
+ return []*cobra.Command{}
+}
+
+func getTrustSubCommands() []*cobra.Command {
+ return []*cobra.Command{}
+}
+
+//func getMainAppFlags() []cli.Flag {
+// return []cli.Flag{}
+//}
+func getSystemSubCommands() []*cobra.Command {
+ return []*cobra.Command{}
}