Module profile

Source
Expand description

Implementation of the mz profile command.

Consult the user-facing documentation for details.

Structs§

ConfigGetArgs
Represents the args to retrieve a profile configuration value.
ConfigRemoveArgs
Represents the args to remove the value from a profile configuration field.
ConfigSetArgs
Represents the args to set the value of a profile configuration field.

Enums§

ConfigArg
Represents the possible fields in a profile configuration.

Functions§

config_get
Shows the value of a profile configuration field.
config_list
Shows all the possible field and its values in the profile configuration.
config_remove
Removes the value from a profile configuration field.
config_set
Sets a value in the profile configuration.
init
Initiates the profile creation process.
init_with_browser
Opens the default web browser in the host machine and awaits a single request containing the profile’s app password.
init_without_browser
Prompts the user for the profile email and passowrd in Materialize. Notice that the password is the same as the user uses to log into the console, and not the app-password.
list
List all the possible config values for the profile.
remove
Removes the profile from the configuration file.
strip_api_from_endpoint 🔒
Strips the .api from the login endpoint. The .api prefix will cause a failure during login in the browser.