inferRunCliTypes | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function inferRunCliTypes

    • Type Parameters

      • const E extends object
      • const S extends object
      • const Z

      Parameters

      • data: InferRootOptionsArguments<E> & InferSubCommandOptionsArguments<S> & NoInfer<
            (
                ParseData & (E & S extends { options: {}; } ? { options: SanitizeOptions<({ options: {}; } & E & S)["options"]>; } : {})
            ) & (
                (E & S) extends { subCommands: {} }
                    ? { subCommands: SanitizeSubCommandOptArgs<O["subCommands"]> }
                    : {}
            ) & MainDeclarations<E & S, null, null>,
        > & Z

      Returns Z