You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently integrating just with nushell, and I'm experiencing a roadblock with the handling of positional arguments. As of now, it appears that nushell lacks support for this functionality.
Here is a snippet of my current Justfile:
set shell := ["nu", "-c"]test_command *args='':
echo $1
Regrettably, this format isn't compatible with nushell. I am proposing a feature where we could retrieve positional arguments similar to how it's done in bash or other traditional shells. The idea is to use a syntax (Variables and Substitution) like {{1}}, {{2}}, etc. to represent positional arguments equivalent to $1, $2, etc.
A proposed usage might look like:
set shell := ["nu", "-c"]test_command *args='':
echo {{1}}
This implementation would greatly aid those of us utilizing just in conjunction with nushell and maybe others. Tell me your opinion on this proposal? Maybe I could try my hand at an MR.
The text was updated successfully, but these errors were encountered:
Related issues:
positional-arguments
does not work with set shell? #1559pwsh
does not support-Command
positionals, is incompatible with intendedset shell
andpositional-arguments
usage #1592I am currently integrating
just
withnushell
, and I'm experiencing a roadblock with the handling of positional arguments. As of now, it appears thatnushell
lacks support for this functionality.Here is a snippet of my current Justfile:
Regrettably, this format isn't compatible with
nushell
. I am proposing a feature where we could retrieve positional arguments similar to how it's done in bash or other traditional shells. The idea is to use a syntax (Variables and Substitution) like{{1}}
,{{2}}
, etc. to represent positional arguments equivalent to$1
,$2
, etc.A proposed usage might look like:
This implementation would greatly aid those of us utilizing
just
in conjunction withnushell
and maybe others. Tell me your opinion on this proposal? Maybe I could try my hand at an MR.The text was updated successfully, but these errors were encountered: