API 参考
正在准备搜索索引...
@142vip/fairy-cli
runOrDryRun
函数 runOrDryRun
runOrDryRun
(
dryRun
:
boolean
|
undefined
,
command
:
string
,
steps
:
string
[]
,
run
:
()
=>
void
|
Promise
<
void
>
,
)
:
Promise
<
void
>
dryRun
为 true 时只打印步骤;否则执行
run
。
参数
dryRun
:
boolean
|
undefined
command
:
string
steps
:
string
[]
run
:
()
=>
void
|
Promise
<
void
>
返回
Promise
<
void
>
显示设置
成员可见性
受保护
继承
外部
配色
自动
浅色
深色
API 参考
加载中……
dryRun为 true 时只打印步骤;否则执行run。