jbang icon indicating copy to clipboard operation
jbang copied to clipboard

find consistent way to allow setting things like deps without having to set run.deps, edit.deps, etc.

Open maxandersen opened this issue 3 years ago • 1 comments

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)

maxandersen avatar Jan 08 '22 22:01 maxandersen

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.

quintesse avatar Jan 11 '22 10:01 quintesse