Skip to content

Replace yes-no prompts with exits

Anže Luzar requested to merge exit-instead-of-yes-no-prompts into main

Currently, in case of some problematic actions (if he sets an empty CLI flag or exports the payload without the --include-metadata) the CLI warns the user and prompts him with a message about whether he chooses to continue or not. This can be problematic for instance in CI/CD pipelines when there is no input from the user and CLI waits for an input that will never come.

These changes will remove all yes-no prompts with errors and exits.

Closes #256 (closed) and #257 (closed).

Merge request reports