Пример #1
0
def process_csv(args):
    try:
        print_daos_version()
        csv = ProcessCSV(args)
        csv.run()
    except Exception as err:
        print('Error: {0}'.format(err))
        sys.exit(-1)
Пример #2
0
def process_fs(args):
    try:
        print_daos_version()
        pfs = ProcessFS(args)
        pfs.run()

    except Exception as err:
        print('Error: {0}'.format(err))
        sys.exit(-1)
Пример #3
0
def process_yaml(args):
    try:
        print_daos_version()
        yaml = ProcessYAML(args)
        yaml.run()

    except Exception as err:
        print('Error: {0}'.format(err))
        sys.exit(-1)
Пример #4
0
def create_dfs_example(args):
    print_daos_version()
    try:
        example = CreateExample(args)
        example.run()

    except Exception as err:
        print('Error: {0}'.format(err))
        sys.exit(-1)