Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: improve tnf generate #71

Open
Wu-kung opened this issue Nov 27, 2024 · 1 comment
Open

chore: improve tnf generate #71

Wu-kung opened this issue Nov 27, 2024 · 1 comment
Assignees

Comments

@Wu-kung
Copy link
Contributor

Wu-kung commented Nov 27, 2024

Problem

Without any parameter, it will give an interactive generator selection.

Solution

Like this:

$ tnf generate
# or
$ tnf g
? Pick generator type › - Use arrow-keys. Return to submit.
❯ Create Pages -- Create a tnf page by page name,includes {pageName}.tsx {pageName}.module.less
  Create Tailwindcss -- Enable the Tailwind CSS configuration and installDeps
  Create Component -- ...
  ......

Alternatives

No response

Importance

would make my life easier

Additional Information

No response

@Wu-kung
Copy link
Contributor Author

Wu-kung commented Nov 27, 2024

Can assigned this task to me.

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

No branches or pull requests

1 participant