cmd

package
v1.115.4 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 124 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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