A simple command line interface for the open source OpenVPN client Tunnelblick for macOS. It uses AppleScript to interact with Tunnelblick (see Tunnelblick documentation).
$ npm install -g tubli
$ tubli COMMAND
running command...
$ tubli (-v|--version|version)
tubli/0.0.1 darwin-x64 node-v14.15.1
$ tubli --help [COMMAND]
USAGE
$ tubli COMMAND
...
connects to existing VPN configurations
USAGE
$ tubli connect [VPN]
OPTIONS
-a, --all connect all configurations
-h, --help show CLI help
EXAMPLES
$ shaft connect "MyShinyVPN"
$ shaft connect --all
See code: src/commands/connect.ts
disconnects active VPN sessions
USAGE
$ tubli disconnect [VPN]
OPTIONS
-a, --all disconnect all configurations
-h, --help show CLI help
-n, --no-wait do not wait until disconnect is successful
-q, --quiet mute all output
EXAMPLES
$ shaft disconnect "MyShinyVPN"
$ shaft disconnect --all
See code: src/commands/disconnect.ts
display help for tubli
USAGE
$ tubli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help