throw new YError('coerce callback must be provided');
}
// Handled multiple above, down to one key.
const coerceKey = keys;
// This noop tells yargs-parser about the existence of the option
// represented by "coerceKey", so that it can apply camel case expansion
// if needed:
this.#options.key[coerceKey] = true;
this.#globalMiddleware.addCoerceMiddleware(
(
argv: Arguments,
yargs: YargsInstance