gatelineAPI reference
  • The order the set is listed in (#498): by display name without case, then by id — the order Gatehouse's scope control and groups use (compareRepositories in packages/web/src/scope.ts, which this repeats because the CLI does not import the web package). Alphabetical by the name printed, so a reader finds a repository where they expect it, whatever order the config file or the --repo flags gave.

    Type Parameters

    • T extends { id: string; name: string }

    Parameters

    • set: readonly T[]

    Returns T[]