diff --git a/Cargo.lock b/Cargo.lock index 7731012..128ce66 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "mozwire" -version = "0.5.1" +version = "0.5.2" dependencies = [ "base64", "clap", diff --git a/Cargo.toml b/Cargo.toml index 98f91c7..279bdb6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ authors = ["Nils "] license = "GPL-3.0-or-later" repository = "https://github.com/NilsIrl/MozWire/" readme = "README.md" -version = "0.5.1" +version = "0.5.2" edition = "2018" [profile.release] diff --git a/README.md b/README.md index 975e972..3309606 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ mozwire .... # mozwire commands can be run without having to log in [![asciicast](https://asciinema.org/a/wQgorg0PgkrjI52NSWEdzdQ7U.svg)](https://asciinema.org/a/wQgorg0PgkrjI52NSWEdzdQ7U) ``` -mozwire 0.4.0 +mozwire 0.5.2 Nils MozillaVPN wireguard configuration manager @@ -102,23 +102,31 @@ USAGE: FLAGS: -h, --help Prints help information - --no-browser By default, mozwire will open the login page in a browser, this option prevents mozwire a browser page from being opened. - --print-token Print the token used to query the Mozilla API, so that it can be reused with --token, without having to sign in each time. + --no-browser By default, mozwire will open the login page in a + browser, this option prevents mozwire a browser page + from being opened. + --print-token Print the token used to query the Mozilla API, so that + it can be reused with --token, without having to sign + in each time. -V, --version Prints version information OPTIONS: - --token The token used to communicate with the Mozilla API. If unspecified, a web page will be opened to retrieve the token. the MOZ_TOKEN environment variable can also be used instead. [env: - MOZ_TOKEN=] + --token The token used to communicate with the Mozilla API. + If unspecified, a web page will be opened to retrieve + the token. the MOZ_TOKEN environment variable can + also be used instead. [env: MOZ_TOKEN=] SUBCOMMANDS: - device Add, remove and list devices. To connect to MozillaVPN, a device needs to be on the list. + device Add, remove and list devices. To connect to MozillaVPN, a + device needs to be on the list. help Prints this message or the help of the given subcommand(s) - relay List available relays (VPN Servers) and save WireGuard configurations for these. + relay List available relays (VPN Servers) and save WireGuard + configurations for these. To query MozillaVPN, mozwire requires a token, specified with --token. If it is left unspecified, mozwire will generate a token by opening a login page, the -token generated can be printed using --print-token, so that it can be reused. -To generate a WireGuard configuration use `mozwire relay save`. +token generated can be printed using --print-token, so that it can be reused. To +generate a WireGuard configuration use `mozwire relay save`. ``` ## Contact