cmd

package
v1.142.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT Imports: 131 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingToken = errors.Errorf("Cannot use automatic login flow inside non-TTY environments. Please provide %s flag or set the %s environment variable.", utils.Aqua("--token"), utils.Aqua("SUPABASE_ACCESS_TOKEN"))
)

Functions

func Execute

func Execute()

func GetRootCmd added in v0.31.0

func GetRootCmd() *cobra.Command

instantiate new rootCmd is a bit tricky with cobra, but it can be done later with the following approach for example: https://github.com/portworx/pxc/tree/master/cmd

func IsExperimental added in v1.27.1

func IsExperimental(cmd *cobra.Command) bool

func IsManagementAPI added in v1.58.0

func IsManagementAPI(cmd *cobra.Command) bool

func PromptCreateFlags added in v0.39.0

func PromptCreateFlags(cmd *cobra.Command) error

func PromptLogin added in v1.4.7

func PromptLogin(ctx context.Context, fsys afero.Fs) error

func PromptProjectRef added in v1.4.7

func PromptProjectRef(ctx context.Context, title string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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