weiran-zsd / dts-cli

Zero-config CLI for TypeScript package development

Home Page:https://weiran-zsd.github.io/dts-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for `npx dtx create .`

johann1301s opened this issue · comments

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

PRs are welcome! 😄