cmd

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: Apache-2.0 Imports: 23 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSetupControls

func AddSetupControls(parent *cobra.Command)

func AddSetupRepo

func AddSetupRepo(parent *cobra.Command)

func CheckAuth

func CheckAuth() (*auth.Authenticator, error)

func Execute

func Execute()

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 AuditMode

type AuditMode int
const (
	AuditModeBasic AuditMode = 1
	AuditModeFull  AuditMode = 2
)

func (*AuditMode) Set

func (e *AuditMode) Set(v string) error

Set must have pointer receiver so it doesn't change the value of a copy

func (*AuditMode) String

func (e *AuditMode) String() string

Enable audit mode enum String is used both by fmt.Print and by Cobra in help text

func (*AuditMode) Type

func (e *AuditMode) Type() string

Type is only used in help text

Jump to

Keyboard shortcuts

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