cmd

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Version constant that represents the current build version
	Version = "v.0.6.0"
)

Variables

View Source
var (
	// Email will be hydrated with it's value if a user runs the create cmd with the
	// flag --email (or -e)
	Email string

	// ReferenceName will be hydrated with it's value if a user runs the create cmd
	// with the flag --reference_name (or -r)
	ReferenceName string

	// Password will be hydrated with it's value if a user runs the create cmd with
	// flag --password (or -p)
	Password string

	// OpenInBrowser will be hydrated with it's value if a user runs the read cmd
	// with the flag --open (or -o)
	OpenInBrowser bool

	// APIClient is the exported APIClient, it is set during init
	APIClient *api.Client
)

Functions

func Execute

func Execute()

Execute runs a user's command. On error, it will print the error and cause the program to exit with status code 1

Types

This section is empty.

Jump to

Keyboard shortcuts

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