python-fire
python-fire copied to clipboard
feat: add string_tools example with basic string utilities
Summary
This PR adds a new example module string_tools in the examples/ directory.
It demonstrates how to expose multiple string utility functions as a Fire CLI.
Details
- Added folder:
examples/string_tools/ - Added functions: reverse, uppercase, count_words
- Included simple test file following the pattern of existing examples
- Structured similarly to
cipher/anddiff/
Checklist
- [x] Code runs successfully
- [x] Example follows existing directory pattern
- [x] Includes test file
- [x] Does not modify existing Fire functionality
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.