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
kapa.ai
kapa.ai2y ago
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:
npm create refine-app@latest -- -o refine-antd [project-name]
npm create refine-app@latest -- -o refine-antd [project-name]
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: ----------------------
kapa.ai
kapa.ai2y ago
<@329809837338656770> kapa.ai is still learning and improving, please let us how it did by reacting below
manual-pink
manual-pink2y ago
GitHub
superplate-core-plugins/presets.js at master · pankod/superplate-co...
Contribute to pankod/superplate-core-plugins development by creating an account on GitHub.