This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
ml bash command line argument parsing (helpful for app_specific extensions) #695
Comments
@bobstarbird can you give us an example we could use to test this? |
I wrote a app_specific.rb which would receive argument from the command def test_args() ml local test_args "nospace" "has some spaces" expected output on LINUX would be |
dmcassel
changed the title
ml bash command line argument parsing (helpfule for app_specific extensions)
ml bash command line argument parsing (helpful for app_specific extensions)
Nov 17, 2016
Thanks @bobstarbird, looks pretty straightforward. |
grtjn
added a commit
to grtjn/roxy
that referenced
this issue
Jun 12, 2017
RobertSzkutak
added a commit
that referenced
this issue
Jul 28, 2017
Fixed #695: applied quotes around bash args, consistently
Fixed in DEV |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please consider replacing$* with "$ @" to preserve quoted command line arguments with spaces
ruby -I deploy -I deploy/lib deploy/lib/ml.rb $* || exit 1
with
ruby -I deploy -I deploy/lib deploy/lib/ml.rb "$@" || exit 1
The text was updated successfully, but these errors were encountered: