jbang
jbang copied to clipboard
find consistent way to allow setting things like deps without having to set run.deps, edit.deps, etc.
how should we allow setting a global default for deps ?
maybe simply use the empty group ? jbang config set .deps g:a:v
?
semantics will be that its just a default so if user sets its own it will override.....maybe then have system properties loaded with the properties under ${jbang.config*} ... but would the value then be jbang.config..deps
, see the double dot)
Right now all.
is used for settings that are part of the toplevel jbang command, so we could (re-)use that here as well. That way setting all.xxx
could be seen as setting the value xxx
for all commands that support it.