Small change to live commands retrieval

This commit is contained in:
Sean Sullivan
2020-09-21 16:41:48 -07:00
parent 7500764cbf
commit 471d5ccf84

View File

@@ -54,9 +54,9 @@ func GetLive(name string) *cobra.Command {
cmd.AddCommand( cmd.AddCommand(
applyCmd, applyCmd,
initcmd.NewCmdInit(f, ioStreams), initcmd.NewCmdInit(f, ioStreams),
preview.GetPreviewRunner(f, ioStreams).Command, preview.PreviewCommand(f, ioStreams),
diff.NewCmdDiff(f, ioStreams), diff.NewCmdDiff(f, ioStreams),
destroy.GetDestroyRunner(f, ioStreams).Command) destroy.DestroyCommand(f, ioStreams))
return cmd return cmd
} }