Function onCustomPreset

  • Handle a custom preset command.

    Parameters

    • opts: string[] = []

      An array of options for the command. If a string is provided, it is converted to an array.

    • prompt: string[] = []

      An array of prompts for the command. If a string is provided, it is converted to an array.

    Returns Promise<[string, boolean, boolean, boolean]>

    A tuple containing the processed prompt and boolean flags for the '16k', 'reply', and 'edit' options.

    Throws

    An error if '16k', 'reply', and 'edit' are used at the same time.

Generated using TypeDoc