[BREAKING] Multiline commands are now joined with a newline + arguments ($@
) are no longer attached automatically to the command
#35
+71
−119
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Multiline commands are simpler to use
In previous versions, multiline commands like this would have been merged with
&&
:In this PR, they are joined with a newline, to allow for a wider use case spectrum.
Arguments are no longer attached automatically
In previous versions, a configuration file like this:
would have yielded "Hello World" when executed as
op greet World
.Now, due to the possibility that this is not necessarily desired (in multiline commands), you need to use
argv
variables -$@
,$1
,$2
etc - wherever you need them. So in order for the above configuration to work as before, it needs to be written as: