< Summary - Envilder CLI

Information
Class: src/envilder/core/application/validateMapFile/ValidateMapFileCommand.ts
Assembly: Default
File(s): src/envilder/core/application/validateMapFile/ValidateMapFileCommand.ts
Tag: 561_41292037308
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 21
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

File(s)

src/envilder/core/application/validateMapFile/ValidateMapFileCommand.ts

#LineLine coverage
 1import type { MapFileConfig } from '../../domain/MapFileConfig.js';
 2
 3export class ValidateMapFileCommand {
 4  constructor(
 295    public readonly mapPath: string,
 6    /** Provider options given as flags; they take precedence over `$config`. */
 297    public readonly overrides: MapFileConfig,
 8    /** The providers the caller can resolve secrets from. */
 299    public readonly supportedProviders: readonly string[],
 10  ) {}
 11
 12  static create(
 13    mapPath: string,
 14    overrides: MapFileConfig,
 15    supportedProviders: readonly string[],
 16  ): ValidateMapFileCommand {
 2917    return new ValidateMapFileCommand(mapPath, { ...overrides }, [
 18      ...supportedProviders,
 19    ]);
 20  }
 21}

Methods/Properties

constructor
create