cli
is there a shortcut syntax for cli i wanted to create a project that has the answer for the cli prompts. npm create refine-app@latest [project] --[template] --etc
3 Replies
Hi @pkalib. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Yes, you can use the
-o
flag followed by a preset name to create a project with pre-selected CLI options. For example, to create a project with the refine-antd
preset, you can use the following command:
Replace [project-name]
with the desired name for your project. This command will create a project with the options specified in the refine-antd
preset.
Keep in mind that the available presets may vary depending on the source you're referring to. In the extracts provided, the refine-antd
preset is mentioned in the Getting Started tutorial (https://refine.dev/docs/tutorial/getting-started/antd/create-project).
If you want to create a project with custom options, you can skip the -o
flag and select your own options during the CLI prompts.
----------------------
Note: you can ask me a follow up question by @ mentioning me again
:speech_balloon:
----------------------<@329809837338656770> kapa.ai is still learning and improving, please let us how it did by reacting below
adverse-sapphire•2y ago
Can be sent with --preset.
https://github.com/pankod/superplate-core-plugins/blob/master/presets.js
GitHub
superplate-core-plugins/presets.js at master · pankod/superplate-co...
Contribute to pankod/superplate-core-plugins development by creating an account on GitHub.