Support binds in container exec command

This addresses issue #88.
This commit is contained in:
Gregory Kurtzer
2021-08-20 14:16:16 -07:00
parent 82696410ed
commit 7826f69656
4 changed files with 37 additions and 2 deletions

View File

@@ -10,10 +10,11 @@ var (
Args: cobra.MinimumNArgs(1),
FParseErrWhitelist: cobra.FParseErrWhitelist{UnknownFlags: true},
}
binds []string
)
func init() {
baseCmd.PersistentFlags().StringArrayVarP(&binds, "bind", "b", []string{}, "bind points")
}
// GetRootCommand returns the root cobra.Command for the application.