mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 06:46:17 +00:00
add: Section on fire in CLI scenario
* Add a section on [Python Fire](https://github.com/google/python-fire/) in the CLI scenario. Signed-off-by: mr.Shu <mr@shu.io>
This commit is contained in:
@@ -74,3 +74,14 @@ for both simple and complex command line applications as well
|
|||||||
as support rapid development needs without sacrificing quality.
|
as support rapid development needs without sacrificing quality.
|
||||||
Cement is flexible, and it's use cases span from the simplicity of a micro-framework
|
Cement is flexible, and it's use cases span from the simplicity of a micro-framework
|
||||||
to the complexity of a meg-framework.
|
to the complexity of a meg-framework.
|
||||||
|
|
||||||
|
Python Fire
|
||||||
|
-----------
|
||||||
|
|
||||||
|
`Python Fire <https://github.com/google/python-fire/>`_ is a library for
|
||||||
|
automatically generating command line interfaces from absolutely any Python
|
||||||
|
object. It can help debug Python code more easily from the command line,
|
||||||
|
create CLI interfaces to existing code, allow you to interactively explore
|
||||||
|
code in a REPL, and simplify transitioning between Python and Bash (or any
|
||||||
|
other shell).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user