cmd

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   use,
	Short: description,
	RunE: func(cmd *cobra.Command, args []string) error {

		if list {
			listOrganization()
			return nil
		}

		if add != "" {
			addOrganization(add)
			return nil
		}

		if set {
			setDefaultOrganization()
			return nil
		}

		listRepo(conf.DefaultOrganization)
		return nil
	},
	Example: example,
	Version: version,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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