diff options
| author | Emīls Piņķis <pinkisemils@gmail.com> | 2018-03-22 17:12:35 +0000 |
|---|---|---|
| committer | Emīls Piņķis <pinkisemils@gmail.com> | 2018-03-26 15:24:43 +0100 |
| commit | 89231c92ec1f9c8fcfb7b6731fbcf046f8d2278c (patch) | |
| tree | acec71db25e722b27fc8fa1c2803224daaf9ed64 /mullvad-cli/src/cmds/mod.rs | |
| parent | 88079a228309a7cc9abe20aaaab762f9900f4ba1 (diff) | |
| download | mullvadvpn-89231c92ec1f9c8fcfb7b6731fbcf046f8d2278c.tar.xz mullvadvpn-89231c92ec1f9c8fcfb7b6731fbcf046f8d2278c.zip | |
Add version subcommand to CLI
Diffstat (limited to 'mullvad-cli/src/cmds/mod.rs')
| -rw-r--r-- | mullvad-cli/src/cmds/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mullvad-cli/src/cmds/mod.rs b/mullvad-cli/src/cmds/mod.rs index 4450d9d34f..6de212b7fb 100644 --- a/mullvad-cli/src/cmds/mod.rs +++ b/mullvad-cli/src/cmds/mod.rs @@ -25,6 +25,8 @@ pub use self::lan::Lan; mod tunnel; pub use self::tunnel::Tunnel; +mod version; +pub use self::version::Version; /// Returns a map of all available subcommands with their name as key. pub fn get_commands() -> HashMap<&'static str, Box<Command>> { @@ -37,6 +39,7 @@ pub fn get_commands() -> HashMap<&'static str, Box<Command>> { Box::new(Relay), Box::new(Lan), Box::new(Tunnel), + Box::new(Version), ]; let mut map = HashMap::new(); for cmd in commands { |
