cmd

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Short: "BitBucket Command Line Interface",
	Long: `BitBucket Command Line Interface is a tool to manage your BitBucket.
You can manage your pull requests, issues, profiles, etc.`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute(context context.Context) error

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type RootOptions

type RootOptions struct {
	ConfigFile     string         `mapstructure:"-"`
	LogDestination string         `mapstructure:"-"`
	ProfileName    string         `mapstructure:"-"`
	OutputFormat   flags.EnumFlag `mapstructure:"-"`
	DryRun         bool           `mapstructure:"-"`
	Verbose        bool           `mapstructure:"-"`
	Debug          bool           `mapstructure:"-"`
}

RootOptions describes the options for the application

var CmdOptions RootOptions

CmdOptions contains the options for the application

Jump to

Keyboard shortcuts

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