def validate_app_gen_options()

in uberpoet/commandlineutil.py [0:0]


    def validate_app_gen_options(args):
        if bool_xor(args.dot_file_path, args.dot_root_node_name):
            logging.info('dot_file_path: "%s" dot_root_node_name: "%s"', args.dot_file_path, args.dot_root_node_name)
            raise ValueError('If you specify a dot file config option, you must also specify a root node name using '
                             '\"dot_root_node_name\".')
        if args.loc_json_file_path and args.gen_type != ModuleGenType.dot:
            logging.info('loc_json_file_path: "%s"', args.loc_json_file_path)
            raise ValueError('If you specify \"loc_json_file_path\", you must also specify a dot graph style.')