diff --git a/ev-dev-tools/src/ev_cli/__init__.py b/ev-dev-tools/src/ev_cli/__init__.py index 3e3d5ebe..cbf2f0a4 100644 --- a/ev-dev-tools/src/ev_cli/__init__.py +++ b/ev-dev-tools/src/ev_cli/__init__.py @@ -1,2 +1,2 @@ """EVerest command line utility.""" -__version__ = '0.3.0' +__version__ = '0.2.2' diff --git a/ev-dev-tools/src/ev_cli/ev.py b/ev-dev-tools/src/ev_cli/ev.py index 6455619c..bd10c2bd 100755 --- a/ev-dev-tools/src/ev_cli/ev.py +++ b/ev-dev-tools/src/ev_cli/ev.py @@ -579,14 +579,6 @@ def module_genld(args): helpers.write_content_to_file(file_info, 'force-update') -def module_get_templates(args): - interface_files = args.seperator.join( - [templates['ld-ev.hpp'].filename, - templates['ld-ev.cpp'].filename]) - - print(f'{interface_files}') - - def interface_genhdr(args): # Always generate type info before generating interfaces for type_with_namespace in list_types_with_namespace(): @@ -620,14 +612,6 @@ def interface_genhdr(args): helpers.write_content_to_file(if_parts['types'], primary_update_strategy, args.diff) -def interface_get_templates(args): - interface_files = args.seperator.join( - [templates['interface_base'].filename, - templates['interface_exports'].filename]) - - print(f'{interface_files}') - - def helpers_genuuids(args): if (args.count <= 0): raise Exception(f'Invalid number ("{args.count}") of uuids to generate') @@ -700,12 +684,6 @@ def types_genhdr(args): helpers.write_content_to_file(type_parts['types'], primary_update_strategy, args.diff) -def types_get_templates(args): - interface_files = templates['types.hpp'].filename - - print(f'{interface_files}') - - def main(): global validators, everest_dirs, work_dir @@ -762,11 +740,6 @@ def main(): 'files (default: {everest-dir}/build/generated/generated/modules)') mod_genld_parser.set_defaults(action_handler=module_genld) - mod_get_templates_parser = mod_actions.add_parser( - 'get-templates', aliases=['gt'], parents=[common_parser], help='get paths to template files') - mod_get_templates_parser.add_argument('-s', '--seperator', type=str, default=';', help='Seperator between interface files (default: ;)') - mod_get_templates_parser.set_defaults(action_handler=module_get_templates) - if_actions = parser_if.add_subparsers(metavar='', help='available actions', required=True) if_genhdr_parser = if_actions.add_parser( 'generate-headers', aliases=['gh'], parents=[common_parser], help='generate headers') @@ -779,11 +752,6 @@ def main(): 'will be skipped') if_genhdr_parser.set_defaults(action_handler=interface_genhdr) - if_get_templates_parser = if_actions.add_parser( - 'get-templates', aliases=['gt'], parents=[common_parser], help='get paths to template files') - if_get_templates_parser.add_argument('-s', '--seperator', type=str, default=';', help='Seperator between interface files (default: ;)') - if_get_templates_parser.set_defaults(action_handler=interface_get_templates) - hlp_actions = parser_hlp.add_subparsers(metavar='', help='available actions', required=True) hlp_genuuid_parser = hlp_actions.add_parser('generate-uuids', help='generete uuids') hlp_genuuid_parser.add_argument('count', type=int, default=3) @@ -811,12 +779,6 @@ def main(): 'will be skipped') types_genhdr_parser.set_defaults(action_handler=types_genhdr) - types_get_templates_parser = types_actions.add_parser( - 'get-templates', aliases=['gt'], parents=[common_parser], help='get paths to template files') - types_get_templates_parser.add_argument('-s', '--seperator', type=str, default=';', help='Seperator between interface files (default: ;)') - types_get_templates_parser.set_defaults(action_handler=types_get_templates) - - args = parser.parse_args() if 'everest_dir' in args: