mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
44da5c3de2
Fixed issues related to network subcommand tests - "network" in exempted list of short help check - Condition for exact test modified to meet experimental commands - Sorting of commands done in flags_experimental Signed-off-by: Kunal Kushwaha <kunal.kushwaha@gmail.com>
14 lines
400 B
Go
14 lines
400 B
Go
// +build experimental
|
|
|
|
package client
|
|
|
|
import (
|
|
nwclient "github.com/docker/libnetwork/client"
|
|
)
|
|
|
|
// CmdNetwork is used to create, display and configure network endpoints.
|
|
func (cli *DockerCli) CmdNetwork(args ...string) error {
|
|
nCli := nwclient.NewNetworkCli(cli.out, cli.err, nwclient.CallFunc(cli.callWrapper))
|
|
args = append([]string{"network"}, args...)
|
|
return nCli.Cmd("docker", args...)
|
|
}
|