Everything could be overridden
Override system goes from default -> yaml -> options. So if you define a config in the yaml, you could always override it using in option, see examples below for the tar
command.
Default
Dropcat are using default values if nothing is configured, some options do not have a deafault value, like the app name. To see default values run dropcat help command
. Example:
--temp-path[=TEMP-PATH] Temp (./ for current dir) [default: "/tmp"]
--folder[=FOLDER] Folder
Here you could see that temp-path
has a default value, and folder
don’t.
Yaml
local:
environment:
app_path: /path/to/my/code/to/deploy
tmp_path: /tmp/mycustom/path
Options
--folder[=FOLDER] Folder
--temp-path[=TEMP-PATH] Temp (./ for current dir) [default: "/tmp"]
Example:
dropcat tar --folder=/my/folder --temp-path=/tmp/cutom/path