cmd

package
Version: v0.0.0-...-fdf59ed Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "orb-update",
	Short: "Update CircleCI Orb versions",
	RunE: func(_ *cobra.Command, _ []string) error {
		d, err := driver.NewDefaultDriver()
		if err != nil {
			return err
		}

		return d.Registry().Handler().UpdateAll()
	},
}

RootCmd of cobra command

Functions

func Execute

func Execute()

Execute adds all child commands to the root command sets flags appropriately.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL