func Command(f cmdutil.Factory, invFactory inventory.ClientFactory, loader manifestreader.ManifestLoader, ioStreams genericclioptions.IOStreams) *cobra.Command
Command creates the Runner, returning the cobra command associated with it.
Runner encapsulates data necessary to run the destroy command.
type Runner struct { Command *cobra.Command // contains filtered or unexported fields }
func GetRunner(factory cmdutil.Factory, invFactory inventory.ClientFactory, loader manifestreader.ManifestLoader, ioStreams genericclioptions.IOStreams) *Runner
GetRunner creates and returns the Runner which stores the cobra command.
func (r *Runner) RunE(cmd *cobra.Command, args []string) error