Skip to content

Update init.py execution path to use cd and uv run#2254

Merged
cb-github-robot merged 1 commit intocloud-barista:mainfrom
leehyeoklee:improve-documentation
Jan 5, 2026
Merged

Update init.py execution path to use cd and uv run#2254
cb-github-robot merged 1 commit intocloud-barista:mainfrom
leehyeoklee:improve-documentation

Conversation

@leehyeoklee
Copy link
Copy Markdown
Contributor

Description

Fixed the command example in the "Auto-yes mode" section to correctly execute init.py with dependencies.

Problem

The previous command ./init/init.py -y fails because uv cannot locate pyproject.toml, which resides in the ./init directory. When running the script directly from the repository root, uv looks for pyproject.toml in the current directory instead of the script's directory.

Solution

Changed the command from:

./init/init.py -y

to:

cd ./init && uv run init.py -y

This ensures that:

  1. The working directory is changed to ./init where pyproject.toml is located
  2. uv can properly resolve all Python dependencies defined in pyproject.toml
  3. The script executes successfully with the -y flag

@seokho-son
Copy link
Copy Markdown
Member

@leehyeoklee LGTM! Thanks for the bug fix :)

@seokho-son
Copy link
Copy Markdown
Member

/approve

@github-actions github-actions bot added the approved This PR is approved and will be merged soon. label Jan 5, 2026
@cb-github-robot cb-github-robot merged commit 8effb38 into cloud-barista:main Jan 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved This PR is approved and will be merged soon.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants