AdguardTeam / AdGuardVPNCLI

AdGuard VPN command-line version

Home Page:https://adguard-vpn.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

sfionov opened this issue · comments

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