-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
both query and upsert interactively ask the user for confirmation after each batch of entries:
Line 310 in bd94164
| ok, err := core.ConfirmYesNoWithDefault("Do you want to output more entities?", true) |
Line 79 in bd94164
| msg := fmt.Sprintf("Do you want to upsert more entities (No.%d - No.%d)? ", from+1, to) |
this is kind of silly, especially when batch-processing (large amounts of) data.
it should be removed or at least made optional.
if the intention is to make interactive use more covenient,
it could maybe be enabled/disabled automatically enabled only for interactive sessions:
https://rosettacode.org/wiki/Check_output_device_is_a_terminal#Go
ggalmazor
Metadata
Metadata
Assignees
Labels
No labels