JPM 1.2.4 with massive update in the script side #6
jpm-hub
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Using
args@has now been upgraded....args@still substitutes all args afterjpm <script> ...But what's new is this :
args@[#]substitutes the number of args afterjpm <script> ...args@[<any number>]will substitute the arg afterjpm <script> arg0 arg1 arg2at the position it is starting at 0.args@[-<any switch>]will substitute the presence of the flag to true... And it's absence to "" (nothing). Example :jpm <script> -flagargs@[--<any parameter>]will substitute the arg afterjpm <script>at the parameter value of the --arg. Example :jpm <script> --param valueorjpm <script> --param=valueargs@[last]substitutes the last arg of the args afterjpm <script> ... argLastYou can escape
args@withargs\@JPM 1.2.4
All reactions