aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/commands_remoteclient.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-02-10 15:25:13 -0600
committerbaude <bbaude@redhat.com>2019-02-11 12:53:21 -0600
commit13d2354bc6b43571061d6eccab560fe1f226339e (patch)
tree07d6b759d83e91bd9c3097ee46428a230728c47a /cmd/podman/commands_remoteclient.go
parentc86e8f180c8b0cdbd1bafe327c4671370096c45f (diff)
downloadpodman-13d2354bc6b43571061d6eccab560fe1f226339e.tar.gz
podman-13d2354bc6b43571061d6eccab560fe1f226339e.tar.bz2
podman-13d2354bc6b43571061d6eccab560fe1f226339e.zip
Separate remote and local commands
In the previous CLI, we had an accurate depiction of commands available for the remote client and those available for the local client. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/commands_remoteclient.go')
-rw-r--r--cmd/podman/commands_remoteclient.go19
1 files changed, 14 insertions, 5 deletions
diff --git a/cmd/podman/commands_remoteclient.go b/cmd/podman/commands_remoteclient.go
index 80083eab9..ba0c39087 100644
--- a/cmd/podman/commands_remoteclient.go
+++ b/cmd/podman/commands_remoteclient.go
@@ -6,43 +6,52 @@ import (
"github.com/spf13/cobra"
)
-//import "github.com/urfave/cli"
-//
+// commands that only the remoteclient implements
+func getMainCommands() []*cobra.Command {
+ return []*cobra.Command{}
+}
+
+// commands that only the remoteclient implements
func getAppCommands() []*cobra.Command {
return []*cobra.Command{}
}
+// commands that only the remoteclient implements
func getImageSubCommands() []*cobra.Command {
return []*cobra.Command{}
}
+// commands that only the remoteclient implements
func getContainerSubCommands() []*cobra.Command {
return []*cobra.Command{}
}
+// commands that only the remoteclient implements
func getPodSubCommands() []*cobra.Command {
return []*cobra.Command{}
}
+// commands that only the remoteclient implements
func getVolumeSubCommands() []*cobra.Command {
return []*cobra.Command{}
}
+// commands that only the remoteclient implements
func getGenerateSubCommands() []*cobra.Command {
return []*cobra.Command{}
}
+// commands that only the remoteclient implements
func getPlaySubCommands() []*cobra.Command {
return []*cobra.Command{}
}
+// commands that only the remoteclient implements
func getTrustSubCommands() []*cobra.Command {
return []*cobra.Command{}
}
-//func getMainAppFlags() []cli.Flag {
-// return []cli.Flag{}
-//}
+// commands that only the remoteclient implements
func getSystemSubCommands() []*cobra.Command {
return []*cobra.Command{}
}