radicli

🕊️ Radically lightweight command-line interfaces

MIT License

Downloads
3.7K
Stars
102
Committers
8

Bot releases are hidden (Show)

radicli - v0.0.24 Latest Release

Published by ines over 1 year ago

  • Fix deserialization of static default values.
radicli - v0.0.23

Published by ines over 1 year ago

  • Add --no- prefix in auto-generated docs for boolean args with True default.
radicli - v0.0.22

Published by ines over 1 year ago

  • Add boolean negation arg for True defaults, e.g. --foo and --no-foo.
radicli - v0.0.21

Published by ines over 1 year ago

  • Add Radicli.document to auto-generate Markdown docs.
radicli - v0.0.20

Published by ines over 1 year ago

  • Fix handling of suppressed defaults with converters.
  • Restore defaults in help texts for suppressed defaults.
  • Correctly set has_converter for enums for nicer display_type.
radicli - v0.0.19

Published by ines over 1 year ago

  • Add fill_defaults=False option to not fill in defaults in Radicli.parse and Radicli.run.
radicli - v0.0.18

Published by ines over 1 year ago

  • Add Radicli.call to call single commands.
  • Make subclass error handling more robust.
radicli - v0.0.17

Published by ines over 1 year ago

  • Fix stringify_type to handle complex types.
radicli - v0.0.16

Published by ines over 1 year ago

  • Fix display type generation for types with global converters.
  • Ensure format_type works identical across Python versions.
  • Fix formatting regression in format_type.
radicli - v0.0.15

Published by ines over 1 year ago

  • Respect custom converters overriding defaults during type deserialization.
  • Add built-in converters for UUID, Union[str, UUID] and utility for list conversion.
radicli - v0.0.14

Published by ines over 1 year ago

  • Allow partial parsing of arguments via allow_partial on Radicli.parse.
  • Deserialize simple types when loading CLI from static data.
  • Accept converters argument on StaticRadicli and from_static_json methods to support deserialization of custom types.
  • Make stringified type representations consistent for callable types in Python 3.10+.
radicli - v0.0.13

Published by ines over 1 year ago

  • Add Radicli.handle_errors context manager that can be used separately, e.g. if parse and command function are called manually.
radicli - v0.0.12

Published by ines over 1 year ago

  • Make Radicli.parse take Command objects instead of ArgparseArgs and additional keyword arguments.
radicli - v0.0.11

Published by ines over 1 year ago

  • Add Command.from_function classmethod.
radicli - v0.0.10

Published by ines over 1 year ago

  • Fix static serialization of arg defaults if None or False.
  • Fix arg help text display for args with no help.
radicli - v0.0.9

Published by ines over 1 year ago

radicli - v0.0.8

Published by ines over 1 year ago

  • Fix --version for top-level in multi-command setup.
  • Add Command.is_placeholder.
  • Fix typing on ErrorHandlersType.
  • Add __all__ export.
radicli - v0.0.7

Published by ines over 1 year ago

  • Add error maps for custom error handling in CLI contexts.
  • Improve error message for invalid argument annotations.
radicli - v0.0.6

Published by ines over 1 year ago

  • Add ArgparseArg.display_type for easier type display in custom help.
radicli - v0.0.5

Published by ines over 1 year ago

  • Add support for version argument, which is automatically added as --version.
  • Improve display of top-level help info.
  • Fix handling of required arguments.
Package Rankings
Top 7.13% on Pypi.org
Badges
Extracted from project README
GitHub Actions Current Release Version pypi Version
Related Projects