cli-argument-helper - v2.3.0
    Preparing search index...

    Function default

    • Get a JSON object from the argument list

      Type Parameters

      • T = unknown

      Parameters

      • args: string[]

        Argument list

      • index: number

        Index of the argument to take as a JSON object

      Returns null | T

      JSON object or null if the value is not a JSON object