pypi cyclopts 4.4.3
v4.4.3

latest releases: 5.3.2, 5.3.1, 5.3.0...
11 months ago

Bug Fixes

  • Place positive short flags after positive options, place negative short flags after negative options. By @BrianPugh in #721

    Example python code:

    @app.default
    def foo(dry_run: Annotated[bool, Parameter(alias=["-d"])] = False):
        ...

    Before:

    --dry-run --no-dry-run -d  Enable dry run mode. [default: False]
    

    After:

    --dry-run -d --no-dry-run  Enable dry run mode. [default: False]
    

Full Changelog: v4.4.2...v4.4.3

Don't miss a new cyclopts release

NewReleases is sending notifications on new releases.