API 参考
    正在准备搜索索引...

    接口 AiCommandOptions

    fa ai / fairy ai 命令选项。

    继承 @142vip/agent-skills 的 VipAgentSkillCliOptions (--target / --dry-run / --force / --check 字段语义一致), 本命令不额外叠加字段;后续若有专有选项在此 extends 扩展即可。

    可选布尔由 VipCommander / commander 默认值与解构默认收口, 禁止业务路径再包一层 Boolean(...)。

    interface AiCommandOptions {
        check?: boolean;
        dryRun?: boolean;
        force?: boolean;
        help?: boolean;
        target?: string;
        trace?: boolean;
        vip?: boolean;
    }

    层级

    • VipAgentSkillCliOptions
      • AiCommandOptions
    索引
    check?: boolean

    只比对镜像是否与包内 skills 一致(--check);不一致 exit 1。 与 dryRun 互斥。commander 默认 false。

    dryRun?: boolean

    注册 --dry-run(子命令 -h 展示,紧挨 --help 上方)

    force?: boolean

    目标无 package.json 也继续(--force)。 commander 默认 false。

    help?: boolean

    注册 -h, --help(置于 Options 末尾)

    target?: string

    下游项目根目录(--target / -t)。 省略时:先读 env AGENT_SKILLS_TARGET,再回落 process.cwd()。

    trace?: boolean

    注册 --trace(根程序 -h 展示;开启后 VipConsole.trace 输出执行日志)

    vip?: boolean

    注册 --vip(子命令 -h 展示,紧挨 --help 上方)