From e6bcc26f123b31a9583f1e69b79eb295db5bba09 Mon Sep 17 00:00:00 2001 From: Nils Date: Fri, 7 Oct 2022 15:42:55 +0100 Subject: [PATCH] 0.8.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 48 ++++++++++++++++++++++-------------------------- 3 files changed, 24 insertions(+), 28 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7272814..9f74bbd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -584,7 +584,7 @@ dependencies = [ [[package]] name = "mozwire" -version = "0.7.0" +version = "0.8.0" dependencies = [ "base64", "clap", diff --git a/Cargo.toml b/Cargo.toml index 28faf75..f778a27 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.7.0" +version = "0.8.0" edition = "2018" [profile.release] diff --git a/README.md b/README.md index 2bdb9f2..0faf432 100644 --- a/README.md +++ b/README.md @@ -93,40 +93,36 @@ 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.7.0 +mozwire 0.8.0 Nils MozillaVPN wireguard configuration manager USAGE: - mozwire [FLAGS] [OPTIONS] [SUBCOMMAND] - -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. - -V, --version Prints version information + mozwire [OPTIONS] [SUBCOMMAND] 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=] + -h, --help Print 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 + --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=] + -V, --version Print version information SUBCOMMANDS: - 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. - -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`. + device Add, remove and list devices. To connect to MozillaVPN, a device needs + to be on the list + help Print this message or the help of the given subcommand(s) + 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`. ``` ## Contact