AdguardTeam / AdGuardVPNCLI

AdGuard VPN command-line version
https://adguard-vpn.com/
68 stars 1 forks source link

Add `--yes` flag to `connect` and `update` commands. #35

Closed sfionov closed 5 months ago

sfionov commented 5 months ago

Command connect, and command update after #33 is done, asks user a yes-no question.

Please add --yes flag to these commands which turn on automatic answering y to these questions. Question should be printed anyway as if --yes is missing, but we should not really wait user input, instead print y and accept answer.

Without --yes

Do you want to update AdGuard VPN to ...? (y/n) ...waits user input

With --yes

Do you want to update AdGuard VPN to ...? (y/n) y
... does not wait user input, execution continues