-
-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
Description
Today, create
is one command and add
is another command.
It's almost hidden for users when you do a create
as the cli will proceed with the add process just after.
But, I see 2 issues:
1/ When you do a create
and cancel the process at the add-ons selection, the project is created. Since it's cancelled, the project should not be created.
2/ We can't, from one cli launch, replicate the full selection of args. We have to do something like:
npx sv create jyc --template minimal --types ts --no-install --no-add-ons && npx sv add -C jyc prettier vitest=usages:unit,component eslint drizzle=database:sqlite+sqlite:libsql --no-git-check --install pnpm
Do the first cli with --no-install --no-add-ons
, then the second cli, ... Probably not the easiest for user perspective.
kizivat and ixxieixxie