config¶
Shortcut: c
Help option
~ $ dk config --help
Current context is: default
Usage: dk config [OPTIONS]
Configure Command Line.
Options:
-f, --full General and context configuration
-c, --context Context configuration
-g, --general General configuration
--help Show this message and exit.
Initial full config; default context and general config with PyCharm
~ $ dk config --full
Current context is: default
Enter username: <USERNAME>
Enter password: <PASSWORD>
DK Cloud Address (default https://cloud.datakitchen.io): <ENTER>
DK Cloud Port (default 443): <ENTER>
DK Cloud Merge Tool Template (default None):meld {{left}} {{base}} {{right}}
DK Cloud File Diff Tool Template (default None):meld {{local}} {{remote}}
Check current working path against existing contexts?[yes/No] (default No):yes
Name: <USERNAME>
Email: <PASSWORD>
Customer Name: <CUSTOMER>
Support Email: admin@datakitchen.io
Role: <ROLE>
Update general config using shortcuts with PyCharm
~ $ dk c -g
Current context is: default
DK Cloud Merge Tool Template (default None):/usr/local/bin/charm merge {{left}} {{right}} {{base}}
DK Cloud File Diff Tool Template (default None):/usr/local/bin/charm diff {{local}} {{remote}}
Check current working path against existing contexts?[yes/No] (default No):yes
Configuration changed!.
Update config for an existing context using shortcut