mirror of
https://github.com/apple/container.git
synced 2026-09-18 21:55:36 +00:00
## Type of Change - [x] Bug fix ## Motivation and Context Ensure all fields are initialized in the management flags' init function. Without this change, if someone calls init() on this set of flags, they will get an error like ``` Can't read a value from a parsable argument definition. This error indicates that a property declared with an `@Argument`, `@Option`, `@Flag`, or `@OptionGroup` property wrapper was neither initialized to a value nor decoded from command-line arguments. To get a valid value, either call one of the static parsing methods (`parse`, `parseAsRoot`, or `main`) or define an initializer that initializes _every_ property of your parsable type. ``` ## Testing - [x] Tested locally Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>