@karmaniverous/get-dotenv
    Preparing search index...

    Function resolveCliOptions

    • Merge and normalize raw Commander options (current + parent + defaults) into a GetDotenvCliOptions-like object. Types are intentionally wide to avoid cross-layer coupling; callers may cast as needed.

      ON/OFF families resolve from the raw flags of this invocation: an explicit ON flag gives true, an explicit OFF flag gives false, and otherwise the value comes from the stack (defaults < parent bag). For the exclusions, an individual flag beats -a/-A, which beat the stack.

      Type Parameters

      Parameters

      • rawCliOptions: unknown
      • defaults: Partial<T>
      • OptionalparentJson: string

      Returns ResolveCliOptionsResult<T>