@mcp-z/cli
    Preparing search index...

    Function shouldPromptEnvVar

    • Check if an environment variable should be prompted based on dependsOn conditions. Returns true if the envVar has no dependencies, or if all dependencies are satisfied.

      Parameters

      • envVar: { dependsOn?: Record<string, string[]> }

        Environment variable metadata with optional dependsOn field

      • selectedValues: Record<string, string>

        Currently selected dimension values (e.g., { AUTH_MODE: 'loopback-oauth' })

      Returns boolean

      true if the env var should be prompted, false if it should be skipped