You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[confcom] Add a --with-containers flag to policy and fragment gen (#9409)
* Add a --with-containers flag to policy and fragment gen
* Style fixes
* Update HISTORY.rst
* Bump confcom version
* Support more kinds of container defs
* Update version
* Cleanup
* Remove unused array
* Fix existing tests
* Add new basic tests
* Fix running without --with-containers
* Fix acifragmentgen with no containers
help="Path to JSON file to write fragment import information. This is used with --generate-import. If not specified, the import statement will print to the console",
346
355
validator=validate_fragment_json,
347
356
)
357
+
c.argument(
358
+
"container_definitions",
359
+
options_list=['--with-containers'],
360
+
action='append',
361
+
required=False,
362
+
type=json.loads,
363
+
help='Container definitions to include in the policy'
0 commit comments