Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Consider the following example:
If the file is called using
python ./myFile.py --help, the help signature is printed as expectedHowever, if
**kwargsis added to the signature oftest, the return value of the function is printed instead. Is this expected behavior? It works if I runpython ./myFile.py -- --help, but for someone using my application and not familiar with the 'fire' CLI, this is non-intuitive.How do I need to modify
testso that if someone calls--helpon it, the help signature is printed?Thanks!