Capture environment variables so they are available in the clipboard, specially in the if
/unless
conditions
#177
Labels
enhancement
something nice to have but it is not neither critical nor urgent
Milestone
Describe the feature you'd like
byexample
passes by default the environment variables to the interpreters and they are available from the examples and to the modules.But if the user wants to use an env var to paste it in the example, she can't.
byexample
also supports conditional execution based on the content (or absence of it) for a particular captured variable in the clipboard. Using an env var for this is also not supported.The idea is then simple: make
byexample
to put all the environment variables in the clipboard so they can be used for pasting or for conditional execution.Because this will probably pollute the clipboard, we could have disabled by default and enabled it from the command line with
--capture-env-vars
. May be we could allow a subset with--capture-env-var X
.The text was updated successfully, but these errors were encountered: