Skip to content

Commit 5a4fb52

Browse files
committed
cf_install for all dep managers
1 parent 3aae8c2 commit 5a4fb52

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

codeflash/cli_cmds/cmd_init.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def check_for_toml_or_setup_file() -> str | None:
362362
return cast(str, project_name)
363363

364364

365-
def install_github_actions(override_formatter_check: bool=False) -> None:
365+
def install_github_actions(override_formatter_check: bool = False) -> None:
366366
try:
367367
config, config_file_path = parse_config_file(override_formatter_check=override_formatter_check)
368368

@@ -490,9 +490,12 @@ def get_dependency_installation_commands(dep_manager: DependencyManager) -> tupl
490490
return """|
491491
python -m pip install --upgrade pip
492492
pip install poetry
493-
poetry install --all-extras"""
493+
poetry install --all-extras
494+
poetry add codeflash"""
494495
if dep_manager == DependencyManager.UV:
495-
return "uv sync --all-extras"
496+
return """|
497+
uv sync --all-extras
498+
uv pip install codeflash"""
496499
# PIP or UNKNOWN
497500
return """|
498501
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)