yq will be used to generate the a config.yml and cred.yml file via the user-defined inputs through gum Components.
Interface Design
Ask the user for project_name. Default is komponist
Ask the user for deploy_dir. Default is ./deploy
Ask user if they wish to set a user id. Skippable
Ask user whether to data_persistence. Default is false
Let user choose which services to include
a. Traefik Proxy is included as default
b. Depending on selected services generate / update the config.yml, creds.yml
The creds.yml should have the required YAML structure but the values should be placeholders.
Description
This bash script will use the following tools:
yq
will be used to generate the aconfig.yml
andcred.yml
file via the user-defined inputs throughgum
Components.Interface Design
project_name
. Default iskomponist
deploy_dir
. Default is./deploy
data_persistence
. Default isfalse
config.yml
,creds.yml
The
creds.yml
should have the required YAML structure but the values should be placeholders.