materials_commons.cli.subcommands.clone module

materials_commons.cli.subcommands.clone.clone_subcommand(argv, working_dir)[source]

‘Clone’ a project, i.e. set the local directory tree where files should be uploaded/downloaded. Creates a ‘.mc/config.json’.

mc clone <projid> [–remote <remotename>]

materials_commons.cli.subcommands.clone.make_parser()[source]

Make argparse.ArgumentParser for mc clone