blob: 702593e5c68ef52db7fdb3214645803c7fb2d021 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
//+build !remoteclient
package main
import (
"github.com/containers/libpod/cmd/podman/cliconfig"
"github.com/spf13/cobra"
)
var networkcheckDescription = "Manage networks"
var networkcheckCommand = cliconfig.PodmanCommand{
Command: &cobra.Command{
Use: "network",
Short: "Manage Networks",
Long: networkcheckDescription,
RunE: commandRunE(),
},
}
var networkcheckCommands = []*cobra.Command{
_networkCreateCommand,
_networkinspectCommand,
_networklistCommand,
_networkrmCommand,
}
func init() {
networkcheckCommand.AddCommand(networkcheckCommands...)
networkcheckCommand.SetUsageTemplate(UsageTemplate())
rootCmd.AddCommand(networkcheckCommand.Command)
}
|