Skip to content

fix(cli): print correct init output path - #416

Merged
maxnorm merged 2 commits into
Perfect-Abstractions:mainfrom
maxnorm:fix/init-output-out-path
Oct 14, 2026
Merged

maxnorm merged 2 commits into
Perfect-Abstractions:mainfrom
maxnorm:fix/init-output-out-path

Conversation

@maxnorm

@maxnorm maxnorm commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Print the project directory relative to the current working directory in init next steps.
  • Skip the step when already in the project directory.
  • Add regression tests for custom output paths and the current directory.

Tests

RUN v5.0.4 /home/mn/.local/share/opencode/worktree/b8c820/fix-init-out-path

Test Files 1 passed (1)
Tests 2 passed (2)
Start at 20:29:42
Duration 707ms (transform 63%, import 21%, tests 10%, worker 6%) (2 passed)

  • Lint not run: ESLint is not installed in this worktree.

@changeset-bot

changeset-bot Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b66b2e5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@perfect-abstractions/compose-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify

netlify Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

👷 Deploy request for compose-diamonds pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit b66b2e5

@github-actions

Copy link
Copy Markdown
Contributor

CLI Coverage

Commit: b66b2e5

Metric Coverage Covered/Total
Lines 71% 2105/2975
Functions 74% 438/595
Branches 61% 1195/1965

@maxnorm
maxnorm merged commit 121520b into Perfect-Abstractions:main Oct 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant