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

    Function createCli

    • Create a configured get-dotenv CLI host. Applies defaults, installs root hooks, and composes plugins. Returns a runner function that accepts an argv array.

      The runner's argv is the user arguments only, as in run(['-e', 'dev', 'cmd', 'npm', 'test']), unless its second parameter gives Commander's from: run(process.argv, { from: 'node' }) drops the first two entries. Called without an argv it reads process.argv and detects the convention as Commander does (node -e/-p, Electron).

      Parameters

      Returns (
          argv?: string[],
          options?: { from?: "node" | "electron" | "user" },
      ) => Promise<void>

      The runner. It takes an optional argv and optional parse options (from), and may be called more than once.

      When importMetaUrl is missing or empty.