Skip to content

py-strictcli@v0.4.0

Choose a tag to compare

@smm-h smm-h released this 05 Sep 14:54
· 3704 commits to main since this release

Breaking

  • [strictcli] Breaking: mutex groups always required. Removed the required parameter from MutexGroup. All mutex groups now require exactly one flag to be provided.

Features

  • [strictcli] Flag dependencies. New CoRequired and Requires types for declaring flags that must appear together.

Fixes

  • [strictcli] Choices on global flags. Global flags now validate choices correctly.
  • [strictcli] Repeatable global flags. Global flags with repeatable=True now work correctly.
  • [strictcli] Strict int parsing. Integer flags now enforce 64-bit signed range to match Go behavior.
  • [strictcli] Strict int env parsing. Integer environment variables reject leading/trailing whitespace.

go-strictcli