cmd

package
v0.0.0-...-28d71a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "pivot",
	Short: "Allows moving from one OSTree deployment to another",

	Args: func(cmd *cobra.Command, args []string) error {
		if len(args) < 1 {
			return errors.New("An image name must be provided")
		}
		return nil
	},
	Run: Execute,
}

RootCmd houses the cobra config for the main command

Functions

func Execute

func Execute(cmd *cobra.Command, args []string)

Execute runs the command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL