python-fire icon indicating copy to clipboard operation
python-fire copied to clipboard

docs: Add section on handling missing arguments

Open markrahimi opened this issue 3 months ago • 1 comments

Summary

This PR addresses issue #633 by adding a new documentation section on handling missing arguments in Python Fire CLIs.

Changes

  • Added a new "Handling Missing Arguments" section to the README
  • Included a practical example showing how to use default values and docstrings
  • Explained how this improves user experience when required arguments are missing

Benefits

  • Users will get clearer error messages through better documentation
  • Provides best practices for handling required vs optional arguments
  • Makes the --help output more informative

Closes #633

markrahimi avatar Nov 14 '25 13:11 markrahimi

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Nov 14 '25 13:11 google-cla[bot]