// Get response index
// HACK: Test shortcut to return default or 0 when TWOKEYS_NONINTERACTIVE is true.
// TODO: Allow a --no-interactive options eventually
// TODO: Better docs for TWOKEYS_NONINTERACTIVE - currently undocumented
/* istanbul ignore next */
if (this.nonInterative) {
this.logger.warn(`Returning value of ${config.buttons[config.defaultButton ?? 0]} as TWOKEYS_NONINTERACTIVE is set.`);
Allow a --no-interactive options eventually
https://github.com/Gum-Joe/2Keys/blob/2bc9ab3637736d71e0d6dee0f340558990873227/packages/@twokeys/core/src/prompts.ts#L184
3de0e72caf6cbe4b69b2da3a4764d913277ecf52