Skip to content
Verified Commit bb5a3700 authored by Matthew Clarkson's avatar Matthew Clarkson
Browse files

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

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.
parent ba3579e5
Loading
Loading
Loading
Pipeline #15824 passed with stages
in 5 minutes and 34 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment