google/python-fire ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Python library that turns almost any Python object into a command line tool.
I want to be able to pass in a function, class, module, dict, list, or object, and have it automatically expose the right commands and arguments from the terminal. It should support a normal help screen, an interactive mode, a way to choose a custom separator for command names, completion scripts for shells, and a trace or verbose mode so I can see what it is doing.
Please include a few simple examples, like calling a function with default values and calling a method on a class from the command line. Also make sure it is easy to install and use in a tiny script with just an import and one call. If you need to check current Python packaging or CLI docs while building it, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit