Configuration

Commands to manage DAMDA account information so that you can use functions such as component creation/deletion/deployment by accessing the DAMDA cloud with the DAMDA CLI

configure

Commands to set up a DAMDA account.

Command

$ damda configure [OPTIONS]
# OPTIONS:
#   --profile TEXT: [default:default]

Usage

Case 1) set up an DAMDA account with the default profile

$ damda configure
DAMDA ID [default]: <Enter DAMDA ID>
DAMDA P/W[default]: <Enter DAMDA P/W>

Case 2) set up an DAMDA account with the default profile

$ damda configure --profile test
DAMDA ID [test]: <Enter DAMDA ID>
DAMDA P/W[test]: <Enter DAMDA P/W

get-configuration

Command to get DAMDA account information for a specific profile.

Command

$ damda get-configuration [OPTIONS]
# OPTIONS:
#    --profile TEXT: [default: default]

Usage

Case 1) set up an DAMDA account with the default profile

$ damda get-configuration
{'id': '<DAMDA ID>', 'pw': '<DAMDA P/W>'}

Case 2)set up an DAMDA account with the default profile

$ damda get-configuration --profile test
{'id': '<DAMDA ID>', 'pw': '<DAMDA P/W>'}

list-configurations

Retrieves a list of profiles. This list contains only profile names.

Command

$ damda list-configurations

Usage

$ damda list-configurations
['default', 'test']

delete-configuration

Delete the configuration for a specific profile

Command

$ damda delete-configuration [OPTIONS]
# Options:
#    --profile TEXT: [required]

Usage

# The profile option is required for this command.
$ damda delete-configuration --profile default

Last updated