diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3f1ffb26..2b78a984 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,7 +21,7 @@ AlgoKit development is done within the [AlgoKit Guiding Principles](./docs/algok - If you're not using PyCharm, then run `poetry install` in the repository root directory (this should set up `.venv` and install all Python dependencies - PyCharm will do this for you on startup) - Via AlgoKit CLI: - - [Install AlgoKit CLI](./README.md#install) and run `algokit bootstrap poetry` in the root directory + - [Install AlgoKit CLI](./README.md#install) and run `algokit project bootstrap poetry` in the root directory - Install `tealer` - by running `pipx install tealer==0.1.2`. This is a prerequisite to running `pytest`, tealer is a third party tool for static analysis of TEAL code, algokit uses it in `task analyse` command. AlgoKit uses `pytest-xdist` to speed up the test suite execution by running tests in parallel, this requires `tealer` to be installed globally to avoid race conditions. 3. Install pre-commit hooks (optional but recommended): diff --git a/docs/cli/index.md b/docs/cli/index.md index 928c526d..624ce7e0 100644 --- a/docs/cli/index.md +++ b/docs/cli/index.md @@ -560,7 +560,7 @@ for template specific questions to be used in template rendering. Templates can be default templates shipped with AlgoKit, or custom templates in public Git repositories. -Includes ability to initialise Git repository, run algokit bootstrap and +Includes ability to initialise Git repository, run algokit project bootstrap and automatically open Visual Studio Code. This should be run in the parent directory that you want the project folder @@ -614,7 +614,7 @@ Automatically choose default answers without asking when creating this template. ### --bootstrap, --no-bootstrap -Whether to run algokit bootstrap to install and configure the new project's dependencies locally. +Whether to run algokit project bootstrap to install and configure the new project's dependencies locally. ### --ide, --no-ide diff --git a/src/algokit/cli/doctor.py b/src/algokit/cli/doctor.py index e69446c8..df9fdf5e 100644 --- a/src/algokit/cli/doctor.py +++ b/src/algokit/cli/doctor.py @@ -85,7 +85,7 @@ def doctor_command(*, copy_to_clipboard: bool) -> None: ["poetry", "--version"], missing_help=[ "Poetry is required for some Python-based templates;", - "install via `algokit bootstrap` within project directory, or via:", + "install via `algokit project bootstrap` within project directory, or via:", "https://python-poetry.org/docs/#installation", ], ), @@ -93,7 +93,7 @@ def doctor_command(*, copy_to_clipboard: bool) -> None: ["node", "--version"], missing_help=[ "Node.js is required for some Node.js-based templates;", - "install via `algokit bootstrap` within project directory, or via:", + "install via `algokit project bootstrap` within project directory, or via:", "https://nodejs.dev/en/learn/how-to-install-nodejs/", ], ), diff --git a/src/algokit/cli/init.py b/src/algokit/cli/init.py index f9fa6702..3d88016c 100644 --- a/src/algokit/cli/init.py +++ b/src/algokit/cli/init.py @@ -239,7 +239,7 @@ def _prevent_workspace_nesting(*, workspace_path: Path | None, project_path: Pat "--bootstrap/--no-bootstrap", is_flag=True, default=None, - help="Whether to run `algokit bootstrap` to install and configure the new project's dependencies locally.", + help="Whether to run `algokit project bootstrap` to install and configure the new project's dependencies locally.", ) @click.option( "open_ide", @@ -290,7 +290,7 @@ def init_command( # noqa: PLR0913, C901, PLR0915 Templates can be default templates shipped with AlgoKit, or custom templates in public Git repositories. - Includes ability to initialise Git repository, run algokit bootstrap and + Includes ability to initialise Git repository, run algokit project bootstrap and automatically open Visual Studio Code. This should be run in the parent directory that you want the project folder @@ -438,7 +438,7 @@ def _maybe_bootstrap( if run_bootstrap is None: # if user didn't specify a bootstrap option, then assume yes if using defaults, otherwise prompt run_bootstrap = use_defaults or questionary_extensions.prompt_confirm( - "Do you want to run `algokit bootstrap` for this new project? " + "Do you want to run `algokit project bootstrap` for this new project? " "This will install and configure dependencies allowing it to be run immediately.", default=True, ) @@ -455,7 +455,7 @@ def _maybe_bootstrap( logger.error(f"Received an error while attempting bootstrap: {e}") logger.exception( "Bootstrap failed. Once any errors above are resolved, " - f"you can run `algokit bootstrap` in {project_path}", + f"you can run `algokit project bootstrap` in {project_path}", exc_info=e, ) diff --git a/src/algokit/core/project/bootstrap.py b/src/algokit/core/project/bootstrap.py index d0d07744..d067dda1 100644 --- a/src/algokit/core/project/bootstrap.py +++ b/src/algokit/core/project/bootstrap.py @@ -22,15 +22,15 @@ def bootstrap_any(project_dir: Path, *, ci_mode: bool) -> None: logger.debug(f"Checking {project_dir} for bootstrapping needs") if next(project_dir.glob(ENV_TEMPLATE_PATTERN), None): - logger.debug("Running `algokit bootstrap env`") + logger.debug("Running `algokit project bootstrap env`") bootstrap_env(project_dir, ci_mode=ci_mode) if poetry_path.exists() or (pyproject_path.exists() and "[tool.poetry]" in pyproject_path.read_text("utf-8")): - logger.debug("Running `algokit bootstrap poetry`") + logger.debug("Running `algokit project bootstrap poetry`") bootstrap_poetry(project_dir) if package_json_path.exists(): - logger.debug("Running `algokit bootstrap npm`") + logger.debug("Running `algokit project bootstrap npm`") bootstrap_npm(project_dir) @@ -147,18 +147,18 @@ def bootstrap_poetry(project_dir: Path) -> None: ): raise click.ClickException( "Unable to install poetry via pipx; please install poetry " - "manually via https://python-poetry.org/docs/ and try `algokit bootstrap poetry` again." + "manually via https://python-poetry.org/docs/ and try `algokit project bootstrap poetry` again." ) pipx_command = find_valid_pipx_command( "Unable to find pipx install so that poetry can be installed; " "please install pipx via https://pypa.github.io/pipx/ " - "and then try `algokit bootstrap poetry` again." + "and then try `algokit project bootstrap poetry` again." ) proc.run( [*pipx_command, "install", "poetry"], bad_return_code_error_message=( "Unable to install poetry via pipx; please install poetry " - "manually via https://python-poetry.org/docs/ and try `algokit bootstrap poetry` again." + "manually via https://python-poetry.org/docs/ and try `algokit project bootstrap poetry` again." ), ) @@ -170,7 +170,7 @@ def bootstrap_poetry(project_dir: Path) -> None: raise click.ClickException( "Unable to access Poetry on PATH after installing it via pipx; " "check pipx installations are on your path by running `pipx ensurepath` " - "and try `algokit bootstrap poetry` again." + "and try `algokit project bootstrap poetry` again." ) from e raise # unexpected error, we already ran without IOError before diff --git a/tests/doctor/test_doctor.test_doctor_all_commands_not_found[linux].approved.txt b/tests/doctor/test_doctor.test_doctor_all_commands_not_found[linux].approved.txt index d6d1d072..9b42c43e 100644 --- a/tests/doctor/test_doctor.test_doctor_all_commands_not_found[linux].approved.txt +++ b/tests/doctor/test_doctor.test_doctor_all_commands_not_found[linux].approved.txt @@ -32,11 +32,11 @@ pipx: Command not found! install via https://pypa.github.io/pipx/ poetry: Command not found! Poetry is required for some Python-based templates; - install via `algokit bootstrap` within project directory, or via: + install via `algokit project bootstrap` within project directory, or via: https://python-poetry.org/docs/#installation node: Command not found! Node.js is required for some Node.js-based templates; - install via `algokit bootstrap` within project directory, or via: + install via `algokit project bootstrap` within project directory, or via: https://nodejs.dev/en/learn/how-to-install-nodejs/ npm: Command not found! diff --git a/tests/doctor/test_doctor.test_doctor_all_commands_not_found[macOS].approved.txt b/tests/doctor/test_doctor.test_doctor_all_commands_not_found[macOS].approved.txt index 672658cd..dd94e4f9 100644 --- a/tests/doctor/test_doctor.test_doctor_all_commands_not_found[macOS].approved.txt +++ b/tests/doctor/test_doctor.test_doctor_all_commands_not_found[macOS].approved.txt @@ -34,11 +34,11 @@ pipx: Command not found! install via https://pypa.github.io/pipx/ poetry: Command not found! Poetry is required for some Python-based templates; - install via `algokit bootstrap` within project directory, or via: + install via `algokit project bootstrap` within project directory, or via: https://python-poetry.org/docs/#installation node: Command not found! Node.js is required for some Node.js-based templates; - install via `algokit bootstrap` within project directory, or via: + install via `algokit project bootstrap` within project directory, or via: https://nodejs.dev/en/learn/how-to-install-nodejs/ npm: Command not found! brew: Command not found! diff --git a/tests/doctor/test_doctor.test_doctor_all_commands_not_found[windows].approved.txt b/tests/doctor/test_doctor.test_doctor_all_commands_not_found[windows].approved.txt index 5653b4dc..36405af2 100644 --- a/tests/doctor/test_doctor.test_doctor_all_commands_not_found[windows].approved.txt +++ b/tests/doctor/test_doctor.test_doctor_all_commands_not_found[windows].approved.txt @@ -35,11 +35,11 @@ pipx: Command not found! install via https://pypa.github.io/pipx/ poetry: Command not found! Poetry is required for some Python-based templates; - install via `algokit bootstrap` within project directory, or via: + install via `algokit project bootstrap` within project directory, or via: https://python-poetry.org/docs/#installation node: Command not found! Node.js is required for some Node.js-based templates; - install via `algokit bootstrap` within project directory, or via: + install via `algokit project bootstrap` within project directory, or via: https://nodejs.dev/en/learn/how-to-install-nodejs/ npm: Command not found! chocolatey: Command not found! diff --git a/tests/init/test_init.py b/tests/init/test_init.py index 2fc50189..3f856e92 100644 --- a/tests/init/test_init.py +++ b/tests/init/test_init.py @@ -146,7 +146,7 @@ def _set_blessed_templates(mocker: MockerFixture) -> None: @pytest.fixture(autouse=True) def _override_bootstrap(mocker: MockerFixture) -> None: def bootstrap_mock(p: Path, *, ci_mode: bool, max_depth: int = 1) -> None: # noqa: ARG001 - click.echo(f"Executed `algokit bootstrap all` in {p}") + click.echo(f"Executed `algokit project bootstrap all` in {p}") mocker.patch("algokit.cli.init.bootstrap_any_including_subdirs").side_effect = bootstrap_mock diff --git a/tests/init/test_init.test_init_ask_about_git.approved.txt b/tests/init/test_init.test_init_ask_about_git.approved.txt index bf3ffe94..5ddcdd25 100644 --- a/tests/init/test_init.test_init_ask_about_git.approved.txt +++ b/tests/init/test_init.test_init_ask_about_git.approved.txt @@ -25,7 +25,7 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/myapp +Executed `algokit project bootstrap all` in {current_working_directory}/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 DEBUG: Running 'git rev-parse --show-toplevel' in '{current_working_directory}/myapp' DEBUG: git: fatal: not a git repository (or any of the parent directories): .git diff --git a/tests/init/test_init.test_init_bootstrap_no.approved.txt b/tests/init/test_init.test_init_bootstrap_no.approved.txt index d28fb22e..97aed4f6 100644 --- a/tests/init/test_init.test_init_bootstrap_no.approved.txt +++ b/tests/init/test_init.test_init_bootstrap_no.approved.txt @@ -22,5 +22,5 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -? Do you want to run `algokit bootstrap` for this new project? This will install and configure dependencies allowing it to be run immediately. (Y/n) +? Do you want to run `algokit project bootstrap` for this new project? This will install and configure dependencies allowing it to be run immediately. (Y/n) 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 diff --git a/tests/init/test_init.test_init_bootstrap_yes.approved.txt b/tests/init/test_init.test_init_bootstrap_yes.approved.txt index 5d5950d6..041a460e 100644 --- a/tests/init/test_init.test_init_bootstrap_yes.approved.txt +++ b/tests/init/test_init.test_init_bootstrap_yes.approved.txt @@ -22,8 +22,8 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -? Do you want to run `algokit bootstrap` for this new project? This will install and configure dependencies allowing it to be run immediately. (Y/n) +? Do you want to run `algokit project bootstrap` for this new project? This will install and configure dependencies allowing it to be run immediately. (Y/n) DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/myapp +Executed `algokit project bootstrap all` in {current_working_directory}/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 diff --git a/tests/init/test_init.test_init_help.approved.txt b/tests/init/test_init.test_init_help.approved.txt index 19b80104..28d63336 100644 --- a/tests/init/test_init.test_init_help.approved.txt +++ b/tests/init/test_init.test_init_help.approved.txt @@ -6,8 +6,8 @@ Usage: algokit init [OPTIONS] Templates can be default templates shipped with AlgoKit, or custom templates in public Git repositories. - Includes ability to initialise Git repository, run algokit bootstrap and - automatically open Visual Studio Code. + Includes ability to initialise Git repository, run algokit project bootstrap + and automatically open Visual Studio Code. This should be run in the parent directory that you want the project folder created in. @@ -40,9 +40,9 @@ Options: creation. --defaults Automatically choose default answers without asking when creating this template. - --bootstrap / --no-bootstrap Whether to run `algokit bootstrap` to install - and configure the new project's dependencies - locally. + --bootstrap / --no-bootstrap Whether to run `algokit project bootstrap` to + install and configure the new project's + dependencies locally. --ide / --no-ide Whether to open an IDE for you if the IDE and IDE config are detected. Supported IDEs: VS Code. diff --git a/tests/init/test_init.test_init_input_template_url.approved.txt b/tests/init/test_init.test_init_input_template_url.approved.txt index cdd4d9e4..6b37ce09 100644 --- a/tests/init/test_init.test_init_input_template_url.approved.txt +++ b/tests/init/test_init.test_init_input_template_url.approved.txt @@ -45,5 +45,5 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/myapp +Executed `algokit project bootstrap all` in {current_working_directory}/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 diff --git a/tests/init/test_init.test_init_minimal_interaction_required_yes_git_no_network.approved.txt b/tests/init/test_init.test_init_minimal_interaction_required_yes_git_no_network.approved.txt index 219ef668..e9c1df1a 100644 --- a/tests/init/test_init.test_init_minimal_interaction_required_yes_git_no_network.approved.txt +++ b/tests/init/test_init.test_init_minimal_interaction_required_yes_git_no_network.approved.txt @@ -25,7 +25,7 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/myapp +Executed `algokit project bootstrap all` in {current_working_directory}/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 DEBUG: Running 'git rev-parse --show-toplevel' in '{current_working_directory}/myapp' DEBUG: git: fatal: not a git repository (or any of the parent directories): .git diff --git a/tests/init/test_init.test_init_no_interaction_required_defaults_no_git_no_network.approved.txt b/tests/init/test_init.test_init_no_interaction_required_defaults_no_git_no_network.approved.txt index 369c887a..11531b59 100644 --- a/tests/init/test_init.test_init_no_interaction_required_defaults_no_git_no_network.approved.txt +++ b/tests/init/test_init.test_init_no_interaction_required_defaults_no_git_no_network.approved.txt @@ -24,5 +24,5 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/myapp +Executed `algokit project bootstrap all` in {current_working_directory}/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 diff --git a/tests/init/test_init.test_init_no_interaction_required_no_git_no_network.approved.txt b/tests/init/test_init.test_init_no_interaction_required_no_git_no_network.approved.txt index fc60c373..0a6ff98b 100644 --- a/tests/init/test_init.test_init_no_interaction_required_no_git_no_network.approved.txt +++ b/tests/init/test_init.test_init_no_interaction_required_no_git_no_network.approved.txt @@ -24,5 +24,5 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/myapp +Executed `algokit project bootstrap all` in {current_working_directory}/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 diff --git a/tests/init/test_init.test_init_no_interaction_required_no_git_no_network_with_no_ide.approved.txt b/tests/init/test_init.test_init_no_interaction_required_no_git_no_network_with_no_ide.approved.txt index 37bc35d2..f469d44d 100644 --- a/tests/init/test_init.test_init_no_interaction_required_no_git_no_network_with_no_ide.approved.txt +++ b/tests/init/test_init.test_init_no_interaction_required_no_git_no_network_with_no_ide.approved.txt @@ -26,5 +26,5 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/myapp +Executed `algokit project bootstrap all` in {current_working_directory}/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 diff --git a/tests/init/test_init.test_init_no_interaction_required_no_git_no_network_with_vscode.approved.txt b/tests/init/test_init.test_init_no_interaction_required_no_git_no_network_with_vscode.approved.txt index c2396929..b04ad777 100644 --- a/tests/init/test_init.test_init_no_interaction_required_no_git_no_network_with_vscode.approved.txt +++ b/tests/init/test_init.test_init_no_interaction_required_no_git_no_network_with_vscode.approved.txt @@ -26,7 +26,7 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/myapp +Executed `algokit project bootstrap all` in {current_working_directory}/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 VSCode configuration detected in project directory, and 'code' command is available on path, attempting to launch VSCode DEBUG: Running '/bin/code {current_working_directory}/myapp' in '{current_working_directory}' diff --git a/tests/init/test_init.test_init_no_interaction_required_no_git_no_network_with_vscode_and_readme.approved.txt b/tests/init/test_init.test_init_no_interaction_required_no_git_no_network_with_vscode_and_readme.approved.txt index 9bab6b3b..53200a61 100644 --- a/tests/init/test_init.test_init_no_interaction_required_no_git_no_network_with_vscode_and_readme.approved.txt +++ b/tests/init/test_init.test_init_no_interaction_required_no_git_no_network_with_vscode_and_readme.approved.txt @@ -26,7 +26,7 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/myapp +Executed `algokit project bootstrap all` in {current_working_directory}/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 VSCode configuration detected in project directory, and 'code' command is available on path, attempting to launch VSCode DEBUG: Running '/bin/code {current_working_directory}/myapp {current_working_directory}/myapp/README.txt' in '{current_working_directory}' diff --git a/tests/init/test_init.test_init_project_name.approved.txt b/tests/init/test_init.test_init_project_name.approved.txt index b5cc9190..ec8a0461 100644 --- a/tests/init/test_init.test_init_project_name.approved.txt +++ b/tests/init/test_init.test_init_project_name.approved.txt @@ -25,5 +25,5 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/FAKE_PROJECT +Executed `algokit project bootstrap all` in {current_working_directory}/FAKE_PROJECT 🙌 Project initialized at `FAKE_PROJECT`! For template specific next steps, consult the documentation of your selected template 🧐 diff --git a/tests/init/test_init.test_init_project_name_not_empty.approved.txt b/tests/init/test_init.test_init_project_name_not_empty.approved.txt index b5cc9190..ec8a0461 100644 --- a/tests/init/test_init.test_init_project_name_not_empty.approved.txt +++ b/tests/init/test_init.test_init_project_name_not_empty.approved.txt @@ -25,5 +25,5 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/FAKE_PROJECT +Executed `algokit project bootstrap all` in {current_working_directory}/FAKE_PROJECT 🙌 Project initialized at `FAKE_PROJECT`! For template specific next steps, consult the documentation of your selected template 🧐 diff --git a/tests/init/test_init.test_init_project_name_reenter_folder_name.approved.txt b/tests/init/test_init.test_init_project_name_reenter_folder_name.approved.txt index 89e8ff81..3f27ed05 100644 --- a/tests/init/test_init.test_init_project_name_reenter_folder_name.approved.txt +++ b/tests/init/test_init.test_init_project_name_reenter_folder_name.approved.txt @@ -28,5 +28,5 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/FAKE_PROJECT_2 +Executed `algokit project bootstrap all` in {current_working_directory}/FAKE_PROJECT_2 🙌 Project initialized at `FAKE_PROJECT_2`! For template specific next steps, consult the documentation of your selected template 🧐 diff --git a/tests/init/test_init.test_init_template_selection.approved.txt b/tests/init/test_init.test_init_template_selection.approved.txt index ffd2381f..6d1902fd 100644 --- a/tests/init/test_init.test_init_template_selection.approved.txt +++ b/tests/init/test_init.test_init_template_selection.approved.txt @@ -33,7 +33,7 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/myapp +Executed `algokit project bootstrap all` in {current_working_directory}/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 Your selected template comes from: ➡️ https://github.com/robdmoore/copier-helloworld diff --git a/tests/init/test_init.test_init_template_with_python_task_works.approved.txt b/tests/init/test_init.test_init_template_with_python_task_works.approved.txt index 96edfe9f..83f9dbdf 100644 --- a/tests/init/test_init.test_init_template_with_python_task_works.approved.txt +++ b/tests/init/test_init.test_init_template_with_python_task_works.approved.txt @@ -23,5 +23,5 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/myapp +Executed `algokit project bootstrap all` in {current_working_directory}/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 diff --git a/tests/init/test_init.test_init_use_existing_folder.approved.txt b/tests/init/test_init.test_init_use_existing_folder.approved.txt index bcde29ed..f55b425d 100644 --- a/tests/init/test_init.test_init_use_existing_folder.approved.txt +++ b/tests/init/test_init.test_init_use_existing_folder.approved.txt @@ -26,5 +26,5 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/myapp +Executed `algokit project bootstrap all` in {current_working_directory}/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 diff --git a/tests/init/test_init.test_init_with_official_template_name_and_hash.approved.txt b/tests/init/test_init.test_init_with_official_template_name_and_hash.approved.txt index bc32a9d1..b8d642b5 100644 --- a/tests/init/test_init.test_init_with_official_template_name_and_hash.approved.txt +++ b/tests/init/test_init.test_init_with_official_template_name_and_hash.approved.txt @@ -21,7 +21,7 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/myapp +Executed `algokit project bootstrap all` in {current_working_directory}/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 Your selected template comes from: ➡️ https://github.com/algorandfoundation/algokit-beaker-default-template diff --git a/tests/init/test_init.test_init_wizard_v2_append_to_vscode_workspace.approved.txt b/tests/init/test_init.test_init_wizard_v2_append_to_vscode_workspace.approved.txt index b41660a1..eda111ec 100644 --- a/tests/init/test_init.test_init_wizard_v2_append_to_vscode_workspace.approved.txt +++ b/tests/init/test_init.test_init_wizard_v2_append_to_vscode_workspace.approved.txt @@ -13,7 +13,7 @@ DEBUG: Attempting to load project config from {current_working_directory}/projec DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: Attempting to load project config from {current_working_directory}/projects/myapp2/.algokit.toml -Executed `algokit bootstrap all` in {current_working_directory}/projects/myapp2 +Executed `algokit project bootstrap all` in {current_working_directory}/projects/myapp2 🙌 Project initialized at `myapp2`! For template specific next steps, consult the documentation of your selected template 🧐 Your selected template comes from: ➡️ https://github.com/algorandfoundation/algokit-beaker-default-template diff --git a/tests/init/test_init.test_init_wizard_v2_flow.Custom Template.approved.txt b/tests/init/test_init.test_init_wizard_v2_flow.Custom Template.approved.txt index 1cff7db8..19173757 100644 --- a/tests/init/test_init.test_init_wizard_v2_flow.Custom Template.approved.txt +++ b/tests/init/test_init.test_init_wizard_v2_flow.Custom Template.approved.txt @@ -46,7 +46,7 @@ DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/myapp/projects/myapp +Executed `algokit project bootstrap all` in {current_working_directory}/myapp/projects/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 Your selected template comes from: ➡️ https://github.com/robdmoore/copier-helloworld diff --git a/tests/init/test_init.test_init_wizard_v2_flow.DApp Frontend.approved.txt b/tests/init/test_init.test_init_wizard_v2_flow.DApp Frontend.approved.txt index 72363f74..b9269d0f 100644 --- a/tests/init/test_init.test_init_wizard_v2_flow.DApp Frontend.approved.txt +++ b/tests/init/test_init.test_init_wizard_v2_flow.DApp Frontend.approved.txt @@ -29,7 +29,7 @@ DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/myapp/projects/myapp +Executed `algokit project bootstrap all` in {current_working_directory}/myapp/projects/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 Your selected template comes from: ➡️ https://github.com/robdmoore/copier-helloworld diff --git a/tests/init/test_init.test_init_wizard_v2_flow.Full Stack.approved.txt b/tests/init/test_init.test_init_wizard_v2_flow.Full Stack.approved.txt index 4a854df8..f821bd14 100644 --- a/tests/init/test_init.test_init_wizard_v2_flow.Full Stack.approved.txt +++ b/tests/init/test_init.test_init_wizard_v2_flow.Full Stack.approved.txt @@ -33,7 +33,7 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/myapp +Executed `algokit project bootstrap all` in {current_working_directory}/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 Your selected template comes from: ➡️ https://github.com/robdmoore/copier-helloworld diff --git a/tests/init/test_init.test_init_wizard_v2_flow.Smart Contract.approved.txt b/tests/init/test_init.test_init_wizard_v2_flow.Smart Contract.approved.txt index eaa22cae..4719c92a 100644 --- a/tests/init/test_init.test_init_wizard_v2_flow.Smart Contract.approved.txt +++ b/tests/init/test_init.test_init_wizard_v2_flow.Smart Contract.approved.txt @@ -34,7 +34,7 @@ DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. -Executed `algokit bootstrap all` in {current_working_directory}/myapp/projects/myapp +Executed `algokit project bootstrap all` in {current_working_directory}/myapp/projects/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 Your selected template comes from: ➡️ https://github.com/robdmoore/copier-helloworld diff --git a/tests/init/test_init_with_bootstrap.test_init_bootstrap_broken_poetry.approved.txt b/tests/init/test_init_with_bootstrap.test_init_bootstrap_broken_poetry.approved.txt index f3bd5307..0b990ad2 100644 --- a/tests/init/test_init_with_bootstrap.test_init_bootstrap_broken_poetry.approved.txt +++ b/tests/init/test_init_with_bootstrap.test_init_bootstrap_broken_poetry.approved.txt @@ -29,10 +29,10 @@ DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. DEBUG: Checking {current_working_directory}/myapp for bootstrapping needs -DEBUG: Running `algokit bootstrap poetry` +DEBUG: Running `algokit project bootstrap poetry` DEBUG: Running 'poetry --version' in '{current_working_directory}' DEBUG: poetry: STDOUT DEBUG: poetry: STDERR ERROR: Received an error while attempting bootstrap: poetry --version failed, please check your poetry install -ERROR: Bootstrap failed. Once any errors above are resolved, you can run `algokit bootstrap` in {current_working_directory}/myapp +ERROR: Bootstrap failed. Once any errors above are resolved, you can run `algokit project bootstrap` in {current_working_directory}/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 diff --git a/tests/init/test_init_with_bootstrap.test_init_bootstrap_version_fail.approved.txt b/tests/init/test_init_with_bootstrap.test_init_bootstrap_version_fail.approved.txt index a8318987..5e450c0e 100644 --- a/tests/init/test_init_with_bootstrap.test_init_bootstrap_version_fail.approved.txt +++ b/tests/init/test_init_with_bootstrap.test_init_bootstrap_version_fail.approved.txt @@ -24,5 +24,5 @@ DEBUG: Attempting to load project config from {current_working_directory}/.algok DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml ERROR: Received an error while attempting bootstrap: This template requires AlgoKit version 999.99.99 or higher, but you have AlgoKit version {current_version}. Please update AlgoKit. -ERROR: Bootstrap failed. Once any errors above are resolved, you can run `algokit bootstrap` in {current_working_directory}/myapp +ERROR: Bootstrap failed. Once any errors above are resolved, you can run `algokit project bootstrap` in {current_working_directory}/myapp 🙌 Project initialized at `myapp`! For template specific next steps, consult the documentation of your selected template 🧐 diff --git a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_env.approved.txt b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_env.approved.txt index e67baaa2..988c91f1 100644 --- a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_env.approved.txt +++ b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_env.approved.txt @@ -3,7 +3,7 @@ DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. DEBUG: Checking {current_working_directory} for bootstrapping needs -DEBUG: Running `algokit bootstrap env` +DEBUG: Running `algokit project bootstrap env` DEBUG: {current_working_directory}/.env doesn't exist yet DEBUG: {current_working_directory}/.env.template exists Copying {current_working_directory}/.env.template to {current_working_directory}/.env and prompting for empty values diff --git a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_npm[linux].approved.txt b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_npm[linux].approved.txt index cb3b02f6..daa75d8a 100644 --- a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_npm[linux].approved.txt +++ b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_npm[linux].approved.txt @@ -3,7 +3,7 @@ DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. DEBUG: Checking {current_working_directory} for bootstrapping needs -DEBUG: Running `algokit bootstrap npm` +DEBUG: Running `algokit project bootstrap npm` Installing npm dependencies DEBUG: Running 'npm install' in '{current_working_directory}' npm: STDOUT diff --git a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_npm[macOS].approved.txt b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_npm[macOS].approved.txt index cb3b02f6..daa75d8a 100644 --- a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_npm[macOS].approved.txt +++ b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_npm[macOS].approved.txt @@ -3,7 +3,7 @@ DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. DEBUG: Checking {current_working_directory} for bootstrapping needs -DEBUG: Running `algokit bootstrap npm` +DEBUG: Running `algokit project bootstrap npm` Installing npm dependencies DEBUG: Running 'npm install' in '{current_working_directory}' npm: STDOUT diff --git a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_npm[windows].approved.txt b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_npm[windows].approved.txt index 3d7c50d6..444fc790 100644 --- a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_npm[windows].approved.txt +++ b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_npm[windows].approved.txt @@ -3,7 +3,7 @@ DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. DEBUG: Checking {current_working_directory} for bootstrapping needs -DEBUG: Running `algokit bootstrap npm` +DEBUG: Running `algokit project bootstrap npm` Installing npm dependencies DEBUG: Running 'npm.cmd install' in '{current_working_directory}' npm.cmd: STDOUT diff --git a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_poetry.approved.txt b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_poetry.approved.txt index 74312a06..cabcbdf0 100644 --- a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_poetry.approved.txt +++ b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_poetry.approved.txt @@ -3,7 +3,7 @@ DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. DEBUG: Checking {current_working_directory} for bootstrapping needs -DEBUG: Running `algokit bootstrap poetry` +DEBUG: Running `algokit project bootstrap poetry` DEBUG: Running 'poetry --version' in '{current_working_directory}' DEBUG: poetry: STDOUT DEBUG: poetry: STDERR diff --git a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_poetry_via_pyproject.approved.txt b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_poetry_via_pyproject.approved.txt index 5ae3d913..8c3634f3 100644 --- a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_poetry_via_pyproject.approved.txt +++ b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_poetry_via_pyproject.approved.txt @@ -3,7 +3,7 @@ DEBUG: No .algokit.toml file found in the project directory. DEBUG: Attempting to load project config from {current_working_directory}/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. DEBUG: Checking {current_working_directory} for bootstrapping needs -DEBUG: Running `algokit bootstrap poetry` +DEBUG: Running `algokit project bootstrap poetry` DEBUG: Running 'poetry --version' in '{current_working_directory}' DEBUG: poetry: STDOUT DEBUG: poetry: STDERR diff --git a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_projects_name_filter.approved.txt b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_projects_name_filter.approved.txt index 79497e84..2a9d74af 100644 --- a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_projects_name_filter.approved.txt +++ b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_projects_name_filter.approved.txt @@ -7,11 +7,11 @@ DEBUG: No .algokit.toml file found in the project directory. DEBUG: Checking {current_working_directory}/artifacts for bootstrapping needs DEBUG: Attempting to load project config from {current_working_directory}/artifacts/project_1/.algokit.toml DEBUG: Checking {current_working_directory}/artifacts/project_1 for bootstrapping needs -DEBUG: Running `algokit bootstrap env` +DEBUG: Running `algokit project bootstrap env` DEBUG: {current_working_directory}/artifacts/project_1/.env doesn't exist yet DEBUG: {current_working_directory}/artifacts/project_1/.env.template exists Copying {current_working_directory}/artifacts/project_1/.env.template to {current_working_directory}/artifacts/project_1/.env and prompting for empty values -DEBUG: Running `algokit bootstrap poetry` +DEBUG: Running `algokit project bootstrap poetry` DEBUG: Running 'poetry --version' in '{current_working_directory}' DEBUG: poetry: STDOUT DEBUG: poetry: STDERR diff --git a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_projects_type_filter.approved.txt b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_projects_type_filter.approved.txt index 21548042..a8d99d05 100644 --- a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_projects_type_filter.approved.txt +++ b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_projects_type_filter.approved.txt @@ -19,11 +19,11 @@ DEBUG: Skipping {current_working_directory}/artifacts/project_3/.env.template DEBUG: Skipping {current_working_directory}/artifacts/project_3/poetry.toml DEBUG: Attempting to load project config from {current_working_directory}/artifacts/project_4/.algokit.toml DEBUG: Checking {current_working_directory}/artifacts/project_4 for bootstrapping needs -DEBUG: Running `algokit bootstrap env` +DEBUG: Running `algokit project bootstrap env` DEBUG: {current_working_directory}/artifacts/project_4/.env doesn't exist yet DEBUG: {current_working_directory}/artifacts/project_4/.env.template exists Copying {current_working_directory}/artifacts/project_4/.env.template to {current_working_directory}/artifacts/project_4/.env and prompting for empty values -DEBUG: Running `algokit bootstrap npm` +DEBUG: Running `algokit project bootstrap npm` Installing npm dependencies DEBUG: Running 'npm install' in '{current_working_directory}/artifacts/project_4' npm: STDOUT diff --git a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_sub_dir.approved.txt b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_sub_dir.approved.txt index ec968e92..c95541cc 100644 --- a/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_sub_dir.approved.txt +++ b/tests/project/bootstrap/test_bootstrap_all.test_bootstrap_all_sub_dir.approved.txt @@ -9,11 +9,11 @@ DEBUG: Checking {current_working_directory}/empty_dir for bootstrapping needs DEBUG: Attempting to load project config from {current_working_directory}/live_dir/.algokit.toml DEBUG: No .algokit.toml file found in the project directory. DEBUG: Checking {current_working_directory}/live_dir for bootstrapping needs -DEBUG: Running `algokit bootstrap env` +DEBUG: Running `algokit project bootstrap env` DEBUG: {current_working_directory}/live_dir/.env doesn't exist yet DEBUG: {current_working_directory}/live_dir/.env.template exists Copying {current_working_directory}/live_dir/.env.template to {current_working_directory}/live_dir/.env and prompting for empty values -DEBUG: Running `algokit bootstrap poetry` +DEBUG: Running `algokit project bootstrap poetry` DEBUG: Running 'poetry --version' in '{current_working_directory}' DEBUG: poetry: STDOUT DEBUG: poetry: STDERR diff --git a/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_failed_install.approved.txt b/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_failed_install.approved.txt index 887df346..db1e91dd 100644 --- a/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_failed_install.approved.txt +++ b/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_failed_install.approved.txt @@ -9,4 +9,4 @@ DEBUG: pipx: STDERR DEBUG: Running 'pipx install poetry' in '{current_working_directory}' DEBUG: pipx: STDOUT DEBUG: pipx: STDERR -Error: Unable to install poetry via pipx; please install poetry manually via https://python-poetry.org/docs/ and try `algokit bootstrap poetry` again. +Error: Unable to install poetry via pipx; please install poetry manually via https://python-poetry.org/docs/ and try `algokit project bootstrap poetry` again. diff --git a/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_failed_poetry_path.approved.txt b/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_failed_poetry_path.approved.txt index a0227240..be60acbb 100644 --- a/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_failed_poetry_path.approved.txt +++ b/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_failed_poetry_path.approved.txt @@ -11,4 +11,4 @@ DEBUG: pipx: STDOUT DEBUG: pipx: STDERR Installing Python dependencies and setting up Python virtual environment via Poetry DEBUG: Running 'poetry install' in '{current_working_directory}' -Error: Unable to access Poetry on PATH after installing it via pipx; check pipx installations are on your path by running `pipx ensurepath` and try `algokit bootstrap poetry` again. +Error: Unable to access Poetry on PATH after installing it via pipx; check pipx installations are on your path by running `pipx ensurepath` and try `algokit project bootstrap poetry` again. diff --git a/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_or_pipx_path_failed_install.approved.txt b/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_or_pipx_path_failed_install.approved.txt index d2000bab..87dfd59a 100644 --- a/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_or_pipx_path_failed_install.approved.txt +++ b/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_or_pipx_path_failed_install.approved.txt @@ -10,4 +10,4 @@ DEBUG: {python_base_executable}: STDERR DEBUG: Running '{python_base_executable} -m pipx install poetry' in '{current_working_directory}' DEBUG: {python_base_executable}: STDOUT DEBUG: {python_base_executable}: STDERR -Error: Unable to install poetry via pipx; please install poetry manually via https://python-poetry.org/docs/ and try `algokit bootstrap poetry` again. +Error: Unable to install poetry via pipx; please install poetry manually via https://python-poetry.org/docs/ and try `algokit project bootstrap poetry` again. diff --git a/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_or_pipx_path_failed_poetry_path.approved.txt b/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_or_pipx_path_failed_poetry_path.approved.txt index fb9907ef..969035f9 100644 --- a/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_or_pipx_path_failed_poetry_path.approved.txt +++ b/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_or_pipx_path_failed_poetry_path.approved.txt @@ -12,4 +12,4 @@ DEBUG: {python_base_executable}: STDOUT DEBUG: {python_base_executable}: STDERR Installing Python dependencies and setting up Python virtual environment via Poetry DEBUG: Running 'poetry install' in '{current_working_directory}' -Error: Unable to access Poetry on PATH after installing it via pipx; check pipx installations are on your path by running `pipx ensurepath` and try `algokit bootstrap poetry` again. +Error: Unable to access Poetry on PATH after installing it via pipx; check pipx installations are on your path by running `pipx ensurepath` and try `algokit project bootstrap poetry` again. diff --git a/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_or_pipx_path_or_pipx_module.approved.txt b/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_or_pipx_path_or_pipx_module.approved.txt index db6ab3cc..2eacd2f3 100644 --- a/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_or_pipx_path_or_pipx_module.approved.txt +++ b/tests/project/bootstrap/test_bootstrap_poetry.test_bootstrap_poetry_without_poetry_or_pipx_path_or_pipx_module.approved.txt @@ -7,4 +7,4 @@ DEBUG: Running 'pipx --version' in '{current_working_directory}' DEBUG: Running '{python_base_executable} -m pipx --version' in '{current_working_directory}' DEBUG: {python_base_executable}: STDOUT DEBUG: {python_base_executable}: STDERR -Error: Unable to find pipx install so that poetry can be installed; please install pipx via https://pypa.github.io/pipx/ and then try `algokit bootstrap poetry` again. +Error: Unable to find pipx install so that poetry can be installed; please install pipx via https://pypa.github.io/pipx/ and then try `algokit project bootstrap poetry` again. diff --git a/tests/version_check/test_version_check.py b/tests/version_check/test_version_check.py index d3a34fd5..51737d16 100644 --- a/tests/version_check/test_version_check.py +++ b/tests/version_check/test_version_check.py @@ -160,6 +160,6 @@ def test_version_prompt_according_to_distribution_method( version_cache = app_dir_mock.app_state_dir / "last-version-check" version_cache.write_text("2.0.0", encoding="utf-8") - result = invoke("bootstrap env", skip_version_check=False) + result = invoke("project bootstrap env", skip_version_check=False) assert result.exit_code == 0 assert message in result.output