Closed philos3 closed 6 months ago
3.3.0
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
As mentioned above
can melos parse args like bash , we call pase args correct
as : some_script.sh $1 $2
No response
The multi-line issue is already tracked in #232
Is there an existing issue for this?
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
However, it fail when the args is in the middle
furthermore , it also fail when using a multi-line
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