Skip to content

refactor(run): make `StateAction` not require `ArgumentParser#set_defaults`

Matthew Clarkson requested to merge state-action into main

Use a dot-separated dest attribute so that the Namespace destination and the State destination can be described.

The dest can then be used within the Action constructor to set the default value.

This makes State read-only as well.

Merge request reports