[−][src]Module protonvpn::cli
This module contains all the structs for storing args passed in from the command line.
cli
's submodules each correspond to one of the cli subcommands. Each submodule contains a function which wraps all the others in its module. This module reexports that function for use in the cli.
Structs
Connect | The struct contains the different variants of the connect subcommand (takes many subcommands as well.) |
Enums
CliOptions | An enum for all the cli's subcommands |
ConnectOptions | Each variant of this enum corresponds to a subcommand of the connect subcommand. Each variant has a corresponding submodule that handles that variant. |
Functions
configure | Sets and saves new configuration settings, OVERWRITING the old options. |
connect | Conncts to a server based on which variant of ConnectOptions Connect::connection_option is. |
initialize | Asks for every setting and creates the app's config directories. |