def _init_guild_env(config): cli.out("Initializing Guild environment in {}".format(config.env_dir)) try: init.init_env(config.env_dir, config.guild_home, config.isolate_resources) except init.PermissionError as e: cli.error("unable to write to %s - do you have write permission?" % e.args[0]) except init.InitError as e: cli.error(e)
def _init_guild_env(config): cli.out("Initializing Guild environment in {}".format(config.env_dir)) init.init_env(config.env_dir, config.local_resource_cache)