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
Currently, our Robo CLI handler returns the entire string between options. This is problematic for options that only need a single value like -k --kit which will never have a value with spaces.
Worse yet, this means we cannot currently use any option before the positional args.
npx create-robo -k activity myactivity
The above assigns "activity myactivity" to the kit option rather than recognizing myactivity as the positional argument.
Currently, our Robo CLI handler returns the entire string between options. This is problematic for options that only need a single value like
-k --kit
which will never have a value with spaces.Worse yet, this means we cannot currently use any option before the positional args.
The above assigns
"activity myactivity"
to thekit
option rather than recognizingmyactivity
as the positional argument.File:
cli-handler.ts
https://github.com/Wave-Play/robo.js/blob/main/packages/robo/src/cli/utils/cli-handler.ts
The text was updated successfully, but these errors were encountered: