in lex_exporter/create_lex_template.py [0:0]
def show_help(short=True):
command_line = f"{sys.argv[0]} --config-file config_file [--help]"
if short:
return command_line
else:
with open("./lex_exporter/example-configuration.json") as file:
config_example = file.read()
return (command_line + "\n\n"
"Configuration file format \n"
f"{config_example}")