We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is just a report. I hope it will be useful for development. I'm using fire v0.4.0.
# tmp.py import fire def main(keyword_list): print([(keyword,type(keyword)) for keyword in keyword_list]) fire.Fire(main)
Will give you:
> python tmp.py --keyword_list=tmp,0 [('tmp', <class 'str'>), (0, <class 'int'>)] > python tmp.py --keyword_list=tmp,01 [('t', <class 'str'>), ('m', <class 'str'>), ('p', <class 'str'>), (',', <class 'str'>), ('0', <class 'str'>), ('1', <class 'str'>)] > python tmp.py --keyword_list=tmp,0tmp [('t', <class 'str'>), ('m', <class 'str'>), ('p', <class 'str'>), (',', <class 'str'>), ('0', <class 'str'>), ('t', <class 'str'>), ('m', <class 'str'>), ('p', <class 'str'>)]
The text was updated successfully, but these errors were encountered:
The same as #229
You have to quote them --keyword_list=[tmp,\"01\"]
--keyword_list=[tmp,\"01\"]
Sorry, something went wrong.
No branches or pull requests
This is just a report. I hope it will be useful for development. I'm using fire v0.4.0.
Will give you:
The text was updated successfully, but these errors were encountered: