Merge pull request #2976 from monopole/deferLive

Remove live; done testing.  Bring to sig-cli for discussion.
This commit is contained in:
Jeff Regan
2020-09-14 11:00:48 -07:00
committed by GitHub

View File

@@ -39,7 +39,7 @@ var (
ExitOnError = &commands.ExitOnError ExitOnError = &commands.ExitOnError
) )
// AddCommands adds the cfg, fn and live commands to kustomize. // AddCommands adds the cfg and fn commands to kustomize.
func AddCommands(root *cobra.Command, name string) *cobra.Command { func AddCommands(root *cobra.Command, name string) *cobra.Command {
commands.ExitOnError = true commands.ExitOnError = true
@@ -48,7 +48,6 @@ func AddCommands(root *cobra.Command, name string) *cobra.Command {
root.AddCommand(GetCfg(name)) root.AddCommand(GetCfg(name))
root.AddCommand(GetFn(name)) root.AddCommand(GetFn(name))
root.AddCommand(GetLive(name))
root.AddCommand(&cobra.Command{ root.AddCommand(&cobra.Command{
Use: "docs-merge", Use: "docs-merge",