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 to pass flags to scripts from lune run, you must add a -- before your arguments to make sure they're passed to the underlying script. This is inconvenient. There's only one flag for lune run, --help, which isn't all the helpful if you already know how to pass a script, so it seems unnecessary to swallow all flags.
One possible solution to this is to forward flags on to the script if a script is provided. We could possibly be even more strict and say any flags after the script argument are forwarded on. This would prevent any Lune specific flags being added on in the future for lune run, but it seems unlikely that'd be needed, and this change would be a nice value add.
The text was updated successfully, but these errors were encountered:
Seems reasonable to me to remove flag parsing altogether for anything passed after run and pass it to process.env - if a user is running lune run they probably already know how it works and don't need --help. Since it's a breaking change it would be a good opportunity to do it for 0.9.0 which is coming up soon
Currently to pass flags to scripts from
lune run
, you must add a--
before your arguments to make sure they're passed to the underlying script. This is inconvenient. There's only one flag forlune run
,--help
, which isn't all the helpful if you already know how to pass a script, so it seems unnecessary to swallow all flags.One possible solution to this is to forward flags on to the script if a script is provided. We could possibly be even more strict and say any flags after the script argument are forwarded on. This would prevent any Lune specific flags being added on in the future for
lune run
, but it seems unlikely that'd be needed, and this change would be a nice value add.The text was updated successfully, but these errors were encountered: