Skip to content

feat(cli): add init command for project initialization - #49

Merged
lonewolfyx merged 1 commit into
mainfrom
feat/init-command
Aug 25, 2026
Merged

feat(cli): add init command for project initialization#49
lonewolfyx merged 1 commit into
mainfrom
feat/init-command

Conversation

@lonewolfyx

Copy link
Copy Markdown
Member

#2

  • Add initArgs type definition for project initialization options
  • Integrate init command into main CLI index with dynamic import
  • Implement init command with project template downloading functionality
  • Add support for Nuxt project template selection via --nuxt flag
  • Include Git repository initialization option via --git flag
  • Provide interactive UI with clack prompts for project setup flow
  • Show next steps guidance after successful project creation
  • Support custom project naming with default antdv-next-project value

#2

- Add initArgs type definition for project initialization options
- Integrate init command into main CLI index with dynamic import
- Implement init command with project template downloading functionality
- Add support for Nuxt project template selection via --nuxt flag
- Include Git repository initialization option via --git flag
- Provide interactive UI with clack prompts for project setup flow
- Show next steps guidance after successful project creation
- Support custom project naming with default antdv-next-project value
@lonewolfyx lonewolfyx mentioned this pull request Aug 25, 2026
15 tasks
@pkg-pr-new

pkg-pr-new Bot commented Aug 25, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/antdv-next/cli/@antdv-next/cli@49

commit: a534bb3

@github-actions

Copy link
Copy Markdown
Contributor

Build Size Report

Baseline Artifact · 基准产物

File Size Gzip Brotli
bug-BnynXdDk.mjs 5.16 KiB 2.03 KiB 1.77 KiB
bug-cli-Bk-ysYn8.mjs 543 B 326 B 289 B
changelog-C47Qa9zl.mjs 341 B 239 B 192 B
check-4zwtQENX.mjs 5.05 KiB 1.76 KiB 1.51 KiB
check-BcdSzTlQ.mjs 336 B 233 B 185 B
config-B7gOYat8.mjs 229 B 164 B 129 B
demo-P9rX4kL3.mjs 3.45 KiB 1.25 KiB 1.10 KiB
design-DVLKGLPP.mjs 1.03 KiB 557 B 508 B
doc-C7QpTSWG.mjs 1.55 KiB 676 B 597 B
doctor-BaO1sIYb.mjs 9.55 KiB 2.65 KiB 2.35 KiB
env-C6EwproR.mjs 6.79 KiB 2.22 KiB 1.98 KiB
error-BCR_uT-t.mjs 511 B 315 B 254 B
index.d.mts 9 B 29 B 13 B
index.mjs 2.87 KiB 1.07 KiB 950 B
info-BqqhKFMN.mjs 5.00 KiB 1.96 KiB 1.62 KiB
lint-k2rYlcE6.mjs 307 B 227 B 187 B
list-DW_AT1A5.mjs 2.13 KiB 857 B 749 B
loader-Bu57M3gz.mjs 1.17 KiB 531 B 480 B
mcp-QrYevUAl.mjs 509.80 KiB 105.76 KiB 88.04 KiB
migrate-B28cMzgl.mjs 320 B 226 B 200 B
output-CB8YhzX4.mjs 332 B 210 B 162 B
repo-CuR59qxM.mjs 229 B 148 B 127 B
rolldown-runtime-DC62tzP2.mjs 1.41 KiB 674 B 595 B
semantic-C3P5UoHl.mjs 2.27 KiB 942 B 827 B
setup-CZic1tZK.mjs 325 B 243 B 222 B
table-D_El6STl.mjs 331 B 178 B 145 B
token-fk8M_xuw.mjs 2.64 KiB 1.04 KiB 943 B
upgrade-CMlTIYvK.mjs 608 B 378 B 318 B
usage-D-UJIVX-.mjs 318 B 231 B 192 B
version-BUnzyuTe.mjs 1.53 KiB 673 B 598 B

Candidate Artifact · 候选产物

File Size Gzip Brotli
bug-BBxaWe9O.mjs 5.16 KiB 2.03 KiB 1.78 KiB
bug-cli-DY-6uijt.mjs 543 B 326 B 289 B
changelog-C47Qa9zl.mjs 341 B 239 B 192 B
check-BMGbX3kE.mjs 336 B 233 B 190 B
check-DCj5Zt7O.mjs 2.37 KiB 1.05 KiB 962 B
config-B7gOYat8.mjs 229 B 164 B 129 B
demo-n0ZDmgCH.mjs 3.45 KiB 1.25 KiB 1.10 KiB
design-BC5tt7IZ.mjs 1.03 KiB 556 B 509 B
doc-D3AWWPVM.mjs 1.55 KiB 677 B 595 B
doctor-BaO1sIYb.mjs 9.55 KiB 2.65 KiB 2.35 KiB
env-C6EwproR.mjs 6.79 KiB 2.22 KiB 1.98 KiB
error-BCR_uT-t.mjs 511 B 315 B 254 B
index.d.mts 9 B 29 B 13 B
index.mjs 2.93 KiB 1.09 KiB 966 B
info-DlOxJuam.mjs 5.00 KiB 1.96 KiB 1.62 KiB
init-BG2qMK9T.mjs 33.34 KiB 10.73 KiB 9.71 KiB
lint-k2rYlcE6.mjs 307 B 227 B 187 B
list-BjJ7ms0j.mjs 2.13 KiB 857 B 747 B
loader-Bu57M3gz.mjs 1.17 KiB 531 B 480 B
mcp-CauOrPUU.mjs 509.80 KiB 105.76 KiB 87.99 KiB
migrate-B28cMzgl.mjs 320 B 226 B 200 B
nypm-DNvD4e4Y.mjs 76 B 85 B 80 B
output-CB8YhzX4.mjs 332 B 210 B 162 B
picocolors-C-9qRcR8.mjs 2.96 KiB 952 B 807 B
repo-CuR59qxM.mjs 229 B 148 B 127 B
rolldown-runtime-DC62tzP2.mjs 1.41 KiB 674 B 595 B
rolldown-runtime-FKHV4y3T.mjs 422 B 290 B 242 B
semantic-FpjqOB89.mjs 2.27 KiB 942 B 825 B
setup-CZic1tZK.mjs 325 B 243 B 222 B
table-D_El6STl.mjs 331 B 178 B 145 B
tar-CsAI4HnW.mjs 103.36 KiB 27.54 KiB 24.03 KiB
token-BV-lU4-R.mjs 2.64 KiB 1.04 KiB 943 B
upgrade-BlNptWwU.mjs 608 B 379 B 318 B
usage-D-UJIVX-.mjs 318 B 231 B 192 B
version-BQ0oXb-e.mjs 1.53 KiB 673 B 601 B

@lonewolfyx
lonewolfyx merged commit fe13d93 into main Aug 25, 2026
8 checks passed
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

Successfully merging this pull request may close these issues.

1 participant