-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Support Bash Arrays #182
Labels
Comments
Hello @dbieber and @wahrwolf ,
|
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
I love fire but I keep running in the same issue.
A lot of my scripts support a target directive so I can handover a list and it will iterate over the list.
If I combine that with Fire I need to write ugly python lists and can not use bash magic.
E.g. I need to write
python example.py count_lines '["file00", "file01", "file02"...]'
instead of something like 'python example.py count_lines "file{00..10}"` and I can not use any tab completion.My current workaround is adding:
One idea was to add this line with a special param like
--use-bash-arrays
to the Fire parser so I can run the script like:python example.py count_lines "ffiles{00..}" -- --use-bash-arrays
The text was updated successfully, but these errors were encountered: