Compass helpers for node platforms
    Preparing search index...

    Function parseCommandParams

    • Type Parameters

      • T extends Record<string, string | number | boolean | string[]>

      Parameters

      • schema: Record<keyof T, GetCommandParamOptions & { defaultValue?: T[keyof T] }>

        参数模式定义

      Returns T

      解析后的参数对象

      解析所有命令行参数为对象