Skip to content

feat: add option to create projects and components in same dir#7

Merged
agviegas merged 2 commits into
mainfrom
improve-cli
Mar 1, 2026
Merged

feat: add option to create projects and components in same dir#7
agviegas merged 2 commits into
mainfrom
improve-cli

Conversation

@agviegas

@agviegas agviegas commented Mar 1, 2026

Copy link
Copy Markdown
Contributor
  • Allows thatopen create . to scaffold into the current directory instead of creating a new subdirectory
  • Derives the package name from the current folder name (via basename(cwd)) when using .
  • Skips the "directory already exists" check when targeting the current directory
  • Skips creating the target directory (only creates src/ with recursive: true)
  • Adjusts the "Next steps" output — doesn't print cd ., shows "Project ready!" instead of "Created ./."
  • Updates the help text to mention "." as an option for the project-name argument
  • Also includes an unrelated change in src/built-in/index.ts (8 lines added)

@agviegas agviegas merged commit 8a8449b into main Mar 1, 2026
1 check passed
@agviegas agviegas deleted the improve-cli branch March 1, 2026 18:58
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.

2 participants