acrn-hypervisor/hypervisor/scripts
Junjie Mao 433b37b1a8 config_tools: unify the CLI of scenario-manipulating scripts
Today the scripts that populate default values and validate scenarios have
different command-line interfaces: the former requires an XML schema as
input (which is cumbersome in most cases), while the latter always infer
where the XML schema is (which is inflexible).

This patch unifies the command line options of those scripts as follows:

  - The scenario XML is always a required positional argument.

  - The output file path (if any) is an optional positional argument.

  - The schema XML file is an optional long option. When not specified, the
    scripts will always use the one under the misc/config_tools/schema
    directory.

Also, this patch makes the validator.py executable, as is done to other
executable scripts in the repo.

Tracked-On: #6690
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2022-03-15 10:22:37 +08:00
..
makefile config_tools: unify the CLI of scenario-manipulating scripts 2022-03-15 10:22:37 +08:00
genconf.sh config_tools: add a script that focuses on XML validation 2022-01-26 14:19:01 +08:00
genld.sh dm: Add licenses to the scripts. 2019-11-11 15:35:19 +08:00