You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 15, 2018. It is now read-only.
-V, --version
和-v, --vobose
建议改成
-v, --version
和--vobose
,原因:-v
更流行,比如 node 和 npm--vobose
通常在出状况时用于定位问题,不常用,可不加简写另外,现在有些子命令里也带了
-V
,应该去掉。<>
和[]
<>
是值必选,[]
是值可选,大部分参数都应该用<>
。--no-color
有些命令有,有些命令没有,需统一处理
-q, --quite
感觉意义不大,建议删除。
比如
spm info type -q
仅输出了sorrycc
,spm install type -q
无任何输出。参数描述
应统一首字母不大写,结尾不加
.
。不统一的比如:同一个参数在不同命令下的描述应一致,比如:
spm install
spm install pkg -g
目前没有用, package 解析的时候不会读.spm/sea-modules
--save
,node_modules 不 save 可以用,我们目前解析 pkg 的时候以 package.json 里的为准,不 save 用不起来-b, --base
改成-I, --input-directory
,-d, --destination
改成-O, --output-directory
,和 spm build 保持一致spm publish
help
command 多余了,可以去掉The text was updated successfully, but these errors were encountered: