< Summary - Envilder CLI

Information
Class: src/envilder/core/application/execWithSecrets/ExecWithSecretsCommand.ts
Assembly: Default
File(s): src/envilder/core/application/execWithSecrets/ExecWithSecretsCommand.ts
Tag: 561_41292037308
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 25
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/execWithSecrets/ExecWithSecretsCommand.ts

#LineLine coverage
 1import { OperationMode } from '../../domain/OperationMode.js';
 2
 3export class ExecWithSecretsCommand {
 804  readonly mode = OperationMode.EXEC;
 5
 6  constructor(
 807    public readonly mapPath: string,
 808    public readonly command: string,
 809    public readonly args: readonly string[],
 10    /**
 11     * Short description of where secrets come from, shown in the summary
 12     * line, for example `aws, profile=dev`. Never contains secret values.
 13     */
 8014    public readonly sourceLabel?: string,
 15  ) {}
 16
 17  static create(
 18    mapPath: string,
 19    command: string,
 20    args: readonly string[],
 21    sourceLabel?: string,
 22  ): ExecWithSecretsCommand {
 8023    return new ExecWithSecretsCommand(mapPath, command, [...args], sourceLabel);
 24  }
 25}

Methods/Properties

constructor
create