-
-
Notifications
You must be signed in to change notification settings - Fork 53
Quick creation #1111
Answered
by
Timeless0911
Ladyfish030
asked this question in
Q&A
Quick creation
#1111
-
How can I use the '-t' option?
~ » npx create-rslib -h
◆だいやまーく Create Rslib Project
Usage: create-rslib [options]
Options:
-h, --help display help for command
-d, --dir create project in specified directory
-t, --template specify the template to use
--tools select additional tools (biome, eslint, prettier)
--override override files in target directory
--package-name specify the package name
Templates:
[node-dual]-[]-js, [node-dual]-[]-ts, [node-dual]-[vitest]-js, [node-dual]-[vitest]-ts, [node-esm]-[]-js, [node-esm]-[]-ts, [node-esm]-[vitest]-js, [node-esm]-[vitest]-ts, [react]-[]-js, [react]-[storybook]-js, [react]-[vitest]-js, [react]-[storybook,vitest]-js, [react]-[]-ts, [react]-[storybook]-ts, [react]-[vitest]-ts, [react]-[storybook,vitest]-ts, [vue]-[]-js, [vue]-[storybook]-js, [vue]-[vitest]-js, [vue]-[storybook,vitest]-js, [vue]-[]-ts, [vue]-[storybook]-ts, [vue]-[vitest]-ts, [vue]-[storybook,vitest]-ts
(base) -------------------------------------------------------------------------
~ » npx create-rslib -d demo -t [react]-[]-ts
zsh: no matches found: [react]-[]-ts
Beta Was this translation helpful? Give feedback.
All reactions
Answered by
Timeless0911
Jul 8, 2025
You should use escape characters in terminal, like npx create-rslib -d demo -t \[react\]-\[\]-ts
Replies: 1 comment 2 replies
-
You should use escape characters in terminal, like npx create-rslib -d demo -t \[react\]-\[\]-ts
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1 -
🎉 1
2 replies
-
npx create-rslib -d demo -t "[react]-[]-js" can also work.
Beta Was this translation helpful? Give feedback.
All reactions
-
We will enhance this in Rslib v1.0, see #426.
Beta Was this translation helpful? Give feedback.
All reactions
Answer selected by
Ladyfish030
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment