< Summary - Envilder CLI

Information
Class: src/envilder/core/domain/CliOptions.ts
Assembly: Default
File(s): src/envilder/core/domain/CliOptions.ts
Tag: 561_41292037308
Line coverage
N/A
Covered lines: 0
Uncovered lines: 0
Coverable lines: 0
Total lines: 53
Line coverage: N/A
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/domain/CliOptions.ts

#LineLine coverage
 1import type { MapFileTarget } from './MapFileUpdate.js';
 2
 3/**
 4 * Options for the CLI commands.
 5 */
 6export type CliOptions = {
 7  /**
 8   * Path to the JSON file with environment variable mapping
 9   */
 10  map?: string;
 11
 12  /**
 13   * Path to the .env file to be generated or imported
 14   */
 15  envfile?: string;
 16
 17  /**
 18   * Single environment variable name to push
 19   */
 20  key?: string;
 21
 22  /**
 23   * Value of the single environment variable to push
 24   */
 25  value?: string;
 26
 27  /**
 28   * Secret path in the cloud provider for the single environment variable
 29   */
 30  secretPath?: string;
 31
 32  /**
 33   * AWS CLI profile to use
 34   */
 35  profile?: string;
 36
 37  /**
 38   * Flag to push local .env file back to the secret store
 39   */
 40  push?: boolean;
 41
 42  /**
 43   * False when `--no-map-update` is given: a single-secret push neither reads
 44   * nor writes a map file
 45   */
 46  mapUpdate?: boolean;
 47
 48  /**
 49   * Effective provider target of a single-secret push, compared with the map
 50   * file's own target before the mapping is recorded
 51   */
 52  mapTarget?: MapFileTarget;
 53};

Methods/Properties