The Docker CLI
Go to file
Yong Tang c289179c99 Use spf13/cobra for docker port
This fix is part of the effort to convert commands to spf13/cobra #23211.

Thif fix coverted command `docker port` to use spf13/cobra

Note: As part of this fix, a new function `RequiresMinMaxArgs(min int, max int)`
has been added in cli/required.go. This function restrict the args
to be at least min and at most max.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-06-06 05:32:34 -07:00
cobraadaptor Use spf13/cobra for docker port 2016-06-06 05:32:34 -07:00
flags Cleanup the structure of the cli package. 2016-04-27 14:25:47 -04:00
cli.go cli: remove unnecessary initErr type 2016-05-23 13:04:10 -07:00
flagerrors.go Convert 'docker create' to use cobra and pflag 2016-06-04 13:57:30 +02:00
required.go Use spf13/cobra for docker port 2016-06-06 05:32:34 -07:00
usage.go Use spf13/cobra for docker port 2016-06-06 05:32:34 -07:00