Closed mkohlmyr closed 9 years ago
doesnt appear to be a nice way of setting parent shell variables from node.
might have to perform the substitution ourselves.
if so we might aswell switch out $USER for {{process.env.user}} or similar
useful to maintain our own session configuration files? for restarting services defaulting to last used args and similar? probably not, but think it through
implemented as of c3cde9ccd586ecf60e781d2246d4add6b258905f using handlebars and portions of process and process.env as well as unclaimed arguments to scrum (all scrum arguments used by a command are deleted, those that remain are forwarded to handlebars as a property on the arg object)
this problem can be solved both for scrumfile/scrumrc and scrumfile.json approach by setting and using $SCRUM_ARGUMENT_NAME / $SCRUM_ARGS_ARGUMENT_NAME environment variable in shell.
e.g.
this is an established pattern given use of $USER in -c string already.