openmixer — generated API reference
    Preparing search index...

    Function resolveRuntimeNetwork

    • Resolve a bin's runtime network from its argv + env. Throws CliUsageError on a malformed flag and a ZodError on a malformed env/persisted/config-file value that survives the store's own sanitising (e.g. OPENMIXER_WEB_PORT=abc); an unreadable --config file throws too, since a deployment that names one wants it.

      Parameters

      • opts: { argv?: readonly string[]; env?: ProcessEnv } = {}

      Returns Promise<RuntimeNetwork>