Open
Description
I'm starting a list of things people might want to configure in their Fire CLIs
- Set a function to always show --help, rather than trying to display the output. (Limit member exposition from an instance #47)
- Prevent CLI access to private members (Limit member exposition from an instance #47)
- Prevent CLI access to specific members (Limit member exposition from an instance #47)
- Configure how a particular type is serialized
- Set a parse function for a particular input argument (L32)
- Cache a particular input to a fn
- Cache a function's output
- Set a custom help string
- Make a member available by a different name.
- Make an argument available by a different name.
- Enable single-letter options.
- Allow passing arguments via stdin (what would be the syntax?)
- Whether to use environment variables as arguments (Support for environment variables as default #94)
- What prefix to strip from environment variables (Support for environment variables as default #94)
- Enabling post mortem debugging (add post-mortem pdb flag #71)
- Don't parse arguments to a function (pass them all as strings) (would enable Use fire without editing code directly #29)
- How verbose should Fire be? (improvements to --verbose mode #77)
- Freezing completion autogeneration after Improve Python Fire's tab completion #32 is implemented (Improve Python Fire's tab completion #32)
By no means do we plan on supporting all of these; just good to keep a list.
The primary reason for making this list is so that as we start adding support for these, we can do so in a way that's forward looking. We want any configs that we introduce to look and feel consistent with each other, and not to later need to be renamed or removed for consistency with other configs added at a later date.
Metadata
Metadata
Assignees
Labels
No labels