Exemplo n.º 1
0
def run():
    print('run in normal mode')
    info_dict = readme_reader.read()
    print('info read, stored in info_dict')
    yaml_writer.write(info_dict)
    print('info wrote down as yaml')
    json_writer.write(info_dict)
    print('info wrote down as json')
    print('all info write down in resource/API_resource/')
    print('all finished')
Exemplo n.º 2
0
def run(show_error=True):
    print('run in normal mode')
    if not show_error:
        print('run in silent mode, there will be no warning and error message')
    info_dict = readme_reader.read(show_error=show_error)
    print('info read, stored in info_dict')
    yaml_writer.write(info_dict)
    print('info wrote down as yaml')
    json_writer.write(info_dict)
    print('info wrote down as json')
    print('all info write down in resource/API_resource/')
    print('all finished')
Exemplo n.º 3
0
def run(show_error=True):
    print('run in normal mode')
    if not show_error:
        print('run in silent mode, there will be no warning and error message')
    info_dict = readme_reader.read(show_error=show_error)
    print('info read, stored in info_dict')
    yaml_writer.write(info_dict)
    print('info wrote down as yaml')
    json_writer.write(info_dict)
    print('info wrote down as json')
    print('all info write down in resource/API_resource/')
    print('all finished')