Function removeOptionTokens

  • Removes option tokens from a command string.

    Parameters

    • commandString: string

      The command string to remove the tokens from.

    • values: {
          [key: string]:
              | undefined
              | string
              | number
              | boolean
              | string[]
              | number[]
              | false[]
              | true[];
      }

      The option values to remove the tokens for.

    Returns string

    The command string with the option tokens removed.