-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to pass arguments to script? #6
Comments
I was also looking for this. Ideally a newer shell would have argument parsing support that surpasses that of previous shells. For example for the Oil shell they are thinking in this direction: oils-for-unix/oils#469 |
another question is how to do assignments to variables. |
It looks like
|
Correct, |
I've skimmed the docs but can see how hush gets args the way bash puts them in $1, $2 etc?
script.hsh arg1 arg2 arg3
Ideally it would support a more powerful argument parser, like argparse in python or getopt.
The text was updated successfully, but these errors were encountered: