weiran-zsd / dts-cli

Zero-config CLI for TypeScript package development
MIT License
440 stars 23 forks source link

Add support for `npx dtx create .` #166

Open johann1301s opened 2 years ago

johann1301s commented 2 years ago

Current Behavior

If I have an existing project folder or repository, I first run npx dtx create foo, then copy the contents of foo to the root of my project.

Desired Behavior

First cd into an existing project folder, then run npx dtx create . This should then setup all files and folders in the root of the project folder.

Suggested Solution

I suggest using a similar implementation as npx create-next-app . or npx create-react-app .

Skjermbilde 2022-08-01 kl  23 40 23
aladdin-add commented 2 years ago

PRs are welcome! 😄