mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-14 10:30:59 +00:00
Merge pull request #2976 from monopole/deferLive
Remove live; done testing. Bring to sig-cli for discussion.
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user