Documentation
¶
Index ¶
- func Client(cfg *config.Config) (*client.Client, error)
- func ConfirmPrompt(msg, help string, def bool) bool
- func InputPrompt(msg, def string) string
- func OrgExists(ctx context.Context, c *client.Client, name string) (bool, error)
- func PrintInvites(invites []*adminv1.UserInvite)
- func PrintMembers(members []*adminv1.Member)
- func ProjectExists(ctx context.Context, c *client.Client, orgName, projectName string) (bool, error)
- func SelectPrompt(msg string, options []string, def string) string
- func Spinner(prefix string) *spinner.Spinner
- func SuccessPrinter(str string)
- func TablePrinter(v interface{})
- func WarnPrinter(str string)
- type PreRunCheck
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfirmPrompt ¶ added in v0.24.0
func InputPrompt ¶ added in v0.24.0
func PrintInvites ¶ added in v0.24.0
func PrintInvites(invites []*adminv1.UserInvite)
func PrintMembers ¶ added in v0.24.0
func ProjectExists ¶ added in v0.24.0
func SelectPrompt ¶ added in v0.24.0
func SuccessPrinter ¶ added in v0.24.0
func SuccessPrinter(str string)
func TablePrinter ¶
func TablePrinter(v interface{})
func WarnPrinter ¶ added in v0.24.0
func WarnPrinter(str string)
Types ¶
type PreRunCheck ¶ added in v0.24.0
func CheckAuth ¶
func CheckAuth(cfg *config.Config) PreRunCheck
func CheckChain ¶ added in v0.24.0
func CheckChain(chain ...PreRunCheck) PreRunCheck
func CheckOrganization ¶ added in v0.24.0
func CheckOrganization(cfg *config.Config) PreRunCheck
Click to show internal directories.
Click to hide internal directories.