脚手架使用
🚀 【升级日志】
查看本地版本
I:\> dsf --version
I:\> dsf -v
检测最新版本号
I:\> dsf --check
I:\> dsf -c
升级到最新版
I:\> dsf --update
I:\> dsf -u
打印有关环境的调试信息
I:\> dsf info
查看或配置本地npm私有仓库地址配置
关键字registry的缩写reg
参数--set的缩写-s
参数--reset的缩写-r
I:\> dsf registry
I:\> dsf reg
I:\> dsf registry --set=<new-registry>
I:\> dsf reg -s <new-registry>
I:\> dsf reg --reset
I:\> dsf reg -r
创建项目
关键字create的缩写cre
I:\> dsf create [项目名]
模板管理
关键字template的缩写tem
参数--info的缩写-i
参数--push的缩写-p
参数--remove的缩写-r
I:\> dsf template --host
I:\> dsf template --host=<new-host>
I:\> dsf template --host=
I:\> dsf template --info
I:\> dsf template --info=<template@version>
I:\> dsf template --push=<platform@version>
I:\> dsf template --remove=<platform@version>
配置文件
关键字config的缩写c
I:\> dsf config set <key> <value>
I:\> dsf config get <key>
I:\> dsf config delete <key>
I:\> dsf config list
I:\> dsf config edit
脚手架工具使用
该命令必须在dsf5.0的平台、产品,或者项目中的任意目录下才能执行
I:\> dsfu init
I:\> dsfu init --force
I:\> dsfu init -f
I:\> dsfu clear
I:\> dsfu test --run
I:\> dsfu test -r
I:\> dsfu test --link
I:\> dsfu test -l
I:\> dsfu test --build
I:\> dsfu test -b
I:\> dsfu test --build=see
I:\> dsfu test -b see
I:\> dsfu test --build=nomap
I:\> dsfu test -b nomap
I:\> dsfu lib --build
I:\> dsfu lib -b
I:\> dsfu lib --build=nomap
I:\> dsfu lib -b nomap
I:\> dsfu lib --publish
I:\> dsfu lib -p
I:\> dsfu lib --publish=nomap
I:\> dsfu lib -p nomap
I:\> dsfu lib --unpublish
I:\> dsfu lib -u
I:\> dsfu temp --publish
I:\> dsfu temp -p
I:\> dsfu temp --unpublish
I:\> dsfu temp -u
I:\> dsfu bin pnpm
I:\> dsfu bin npm
I:\> dsfu bin
I:\> dsfu theme --build
I:\> dsfu theme -b
I:\> dsfu theme --reset
I:\> dsfu theme -r
I:\> dsfu mp --publish
I:\> dsfu mp -p