Changelog

unreleased

0.2.0 - 2025-10-21

Added

  • Support for positionals with variable amount of values (#1).

  • Implementation of powercli.args.Flag.deprecation to deprecate flags (#2).

  • powercli.utils.member_of for easy integration of string enums.

  • --section options for PowerDOC.

  • Generate description for flags in manpage output in PowerDOC.

  • Help output adds “default”, “deprecated” and “required” tags if inferable.

  • Support for examples via powercli.command.Command.examples.

Changed

  • Require Python 3.13 or greater.

  • Categories now support all syntax for colors supported by the adorable2 package.

  • Deprecate powercli.utils.static in favor of powercli.static.Static.

  • Better support for inspecting subcommand arguments (via powercli.parser.ParsedCommand.subcommand()).

  • Usage section in help now includes parent commands names.

  • list command and --list flag now display all nested subcommands.

  • list command and --list flag now display commands with their description.

Fixed

  • Make cmd - and cmd -- behave equivalent.

0.1.1 - 2025-06-18

Changed

  • Wider dependency range for attrs and loguru.

0.1.0 - 2025-03-14

Initial release.