// 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.`);
Better docs for TWOKEYS_NONINTERACTIVE - currently undocumented
https://github.com/Gum-Joe/2Keys/blob/2bc9ab3637736d71e0d6dee0f340558990873227/packages/@twokeys/core/src/prompts.ts#L185
0a99e4853391b5a6659c818efa5ddd98627d01f1