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
would be ideal to support foo src-file-1 src-file-2 dest-dir, but variable positional params only work as the last arg. Is this possible without doing something like foo --src src-file-1 src-file-2 -- dest-dir?
The text was updated successfully, but these errors were encountered:
The way yargs-parser handles array options, positionals, and variadic positionals is pretty complex (IMO). I want to work on this feature, but it will likely take me a while.
Is it possible to implement the unix
mv
command?command: `foo [src..] <dest>`
would be ideal to support
foo src-file-1 src-file-2 dest-dir
, but variable positional params only work as the last arg. Is this possible without doing something likefoo --src src-file-1 src-file-2 -- dest-dir
?The text was updated successfully, but these errors were encountered: