Function removeOptionTokens

  • Removes option tokens from a command string.

    Parameters

    • commandString: string

      The command string to remove the tokens from.

    • options: {
          [key: string]:
              | undefined
              | OptionPrimitiveType<(keyof OptionPrimitiveTypeMap)>;
      }

      The option values to remove the tokens for.

    Returns string

    The command string with the option tokens removed.