Page MenuHomePhabricator

Add debug mode to the build-command-templates script
Closed, ResolvedPublic


I've made a script that produces old-style command "templates" from new interface definitions in XML in the VyOS 2.0 style.
Generating templates to be fully compatible with the old backend is tricky business though, and a debug mode to help us spot problems would be nice.

There should be a --debug=1 option that makes it print all directories and files being created and generated node.def contents.

Use Python's standard library getopt.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close