Closed notnmeyer closed 1 year ago
i think its fine to exclude top level or parent values, since those probably aren't as directly relevant to running the task. but maybe we could also just display them?
$ tsk -l
...
[install_release]
inherit-parent-env: true
top-env: blah, blah2
dotenv: .env
script: scripts/install_release.sh
came back to this today and it struck me as strange that the output is some half-yaml half-toml abomination. instead, I think we should just re-encode the parsed tasks to toml and display them
its a little confusing when i see output like,
i recall there are env vars necessary but don't recall exactly. so i look at the script itself and see the env vars, but im not sure which i need to explicitly set.
if
--list
also showed env var names or dotenv file paths, it would be simpler to understand a task's usage from the list output.for example,
or,
on the fence about whether any existing values should be shown