melos
melos copied to clipboard
can melos parse args like bash , some_script.sh $1 $2
Is there an existing issue for this?
- [X] I have searched the existing issues.
Version
3.3.0
Description
melos run args only work with single command in single line scripts
it work fine in single line and the args is in the end
check-bbj:
run: cd component/bbj_flutter && git checkout $1
However, it fail when the args is in the middle
check-bbj:
run: cd component/bbj_flutter && git checkout $1 && git pull
furthermore , it also fail when using a multi-line
check-bbj:
run: |
cd component/bbj_flutter
git checkout $1
Steps to reproduce
As mentioned above
Expected behavior
can melos parse args like bash , we call pase args correct
as : some_script.sh $1 $2
Screenshots
No response
Additional context and comments
No response
The multi-line issue is already tracked in #232