MCPcopy Index your code
hub / github.com/feast-dev/feast / init_command

Function init_command

sdk/python/feast/cli/cli.py:491–499  ·  view source on GitHub ↗

Create a new Feast repository

(project_directory, minimal: bool, template: str, repo_path: str)

Source from the content-addressed store, hash-verified

489 help="Directory path where the repository will be created (default: create subdirectory with project name)",
490)
491def init_command(project_directory, minimal: bool, template: str, repo_path: str):
492 """Create a new Feast repository"""
493 if not project_directory:
494 project_directory = generate_project_name()
495
496 if minimal:
497 template = "minimal"
498
499 init_repo(project_directory, template, repo_path)
500
501
502@cli.command("listen")

Callers

nothing calls this directly

Calls 2

generate_project_nameFunction · 0.90
init_repoFunction · 0.90

Tested by

no test coverage detected