def METHOD_NAME(cli, tmpdir):
    project = str(tmpdir)
    project_path = os.path.join(project, "project.conf")
    result = cli.run(args=["init", "--project-name", "foo", project])
    result.assert_success()
    project_conf = _yaml.load(project_path, shortname=None)
    assert project_conf.get_str("name") == "foo"
    assert project_conf.get_str("min-version") == get_default_min_version()
    assert project_conf.get_str("element-path") == "elements"