From a1d8932e3ce36227cb1dc3d41fda189c2d315961 Mon Sep 17 00:00:00 2001 From: Nicolas Cuervo <cuervonicolas@gmail.com> Date: Thu, 14 Nov 2019 21:51:43 +0100 Subject: Modtool: Update - Add option to convert blacklisted files Also avoid the misleading behavior that implies conversion when it isn't happening while also deleting the XML with a blacklisted name. --- gr-utils/python/modtool/cli/update.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gr-utils/python/modtool/cli/update.py') diff --git a/gr-utils/python/modtool/cli/update.py b/gr-utils/python/modtool/cli/update.py index 509e9daa20..7045750751 100644 --- a/gr-utils/python/modtool/cli/update.py +++ b/gr-utils/python/modtool/cli/update.py @@ -34,6 +34,8 @@ from .base import block_name, run, cli_input, ModToolException @click.command('update', short_help=ModToolUpdate.description) @click.option('--complete', is_flag=True, default=None, help="Convert all the XML bindings to YAML.") +@click.option('-I', '--include-blacklisted', is_flag=True, default=None, + help="Include XML files with blacklisted names in the conversion process") @block_name def cli(**kwargs): """ Update the XML bindings to YAML bindings """ -- cgit v1.2.3