@karmaniverous/get-dotenv
    Preparing search index...
    • The terminator flag of a command (Decision 28).

      The name is --<alias>-<hash>, where <hash> is taken from the alias and the command path joined by single spaces: terminatorName('vc', []) is --vc-q1r1s and terminatorName('vc', ['aws']) is --vc-c1ryg.

      A host registers one terminator, hidden from help, on every command when it builds its qualified-name table (the first parseAsync). Terminators have no qualified name, are the only plain options allowed to start with <alias>-, and never appear in opts() or the options bag.

      Parameters

      • alias: string

        The CLI alias: the root command's name, e.g. vc.

      • path: readonly string[]

        The command names below the root, down to the command (empty for the root). The alias is not part of it.

      Returns string

      The terminator flag, e.g. --vc-q1r1s.

      import { terminatorName } from '@karmaniverous/get-dotenv/cliHost';

      terminatorName('vc', ['aws']); // '--vc-c1ryg'