Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrAdminAPIKeyNotConfigured is the error returned when the loaded profile is missing the admin_api_key property ErrAdminAPIKeyNotConfigured = errors.New("you have not configured your admin API key yet") // ErrApplicationIDNotConfigured is the error returned when the loaded profile is missing the application_id property ErrApplicationIDNotConfigured = errors.New("you have not configured your Application ID yet") )
Functions ¶
func AdminAPIKey ¶
AdminAPIKey validates that a string looks like an Admin API key.
func ExactArgs ¶
func ExactArgs(num int) cobra.PositionalArgs
ExactArgs is a validator for commands to print an error when the number provided is different than the arguments passed in
func PathExists ¶
PathExists validates that a string is a path that exists.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.