🛠 Tooling: Adopt options defaults to match create's interactive CLI #1780
Labels
area: tooling
Managing the repository's maintenance
status: accepting prs
Please, send a pull request to resolve this!
Milestone
Bug Report Checklist
main
branch of the repository.Overview
Right now, create-typescript-app options defaults are assumed to be run in the same working directory as the newly created repository. That works fine for CTA itself because it sets changes the process directory to the repository's upon creation:
create-typescript-app/src/create/createAndEnterGitDirectory.ts
Lines 12 to 14 in 001882b
In the
create
world, though, things are more abstracted. The cwd is not guaranteed to be the same. So the plumbing around options defaults in CTA will have to be able to take in adirectory
.Additional Info
Splitting this out of #1755. That issue is for using
create
's interactive CLI parsing and whatnot. This one is for setting up internals to be able to be parsed withcreate
's interactive CLI.💖
The text was updated successfully, but these errors were encountered: