Skip to content

Commit

Permalink
fix: remove urls from cli reference docs
Browse files Browse the repository at this point in the history
The urls are different for different branches, so they break the build.
  • Loading branch information
ivan-aksamentov committed Oct 21, 2024
1 parent 86eb00e commit c44dd13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/user/nextclade-cli/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ For short help type: `nextclade -h`, for extended help type: `nextclade --help`.

You can host your own dataset server, with one or more datasets, grouped into dataset collections, and use this server to provide datasets to users of Nextclade CLI and Nextclade Web. Refer to Nextclade dataset documentation for more details.

Default value: `https://data.master.clades.nextstrain.org/v3`

* `-x`, `--proxy <PROXY>` — Pass all traffic over proxy server. HTTP, HTTPS, and SOCKS5 proxies are supported
* `--proxy-user <PROXY_USER>` — Username for basic authentication on proxy server, if applicable. Only valid when `--proxy` is also supplied. `--proxy-user` and `--proxy-pass` must be either both specified or both omitted
* `--proxy-pass <PROXY_PASS>` — Password for basic authentication on proxy server, if applicable. Only valid when `--proxy` is also supplied. `--proxy-user` and `--proxy-pass` must be either both specified or both omitted
Expand Down Expand Up @@ -449,7 +449,7 @@ For short help type: `nextclade -h`, for extended help type: `nextclade --help`.

You can host your own dataset server, with one or more datasets, grouped into dataset collections, and use this server to provide datasets to users of Nextclade CLI and Nextclade Web. Refer to Nextclade dataset documentation for more details.

Default value: `https://data.master.clades.nextstrain.org/v3`

* `-o`, `--output-dir <OUTPUT_DIR>` — Path to directory to write dataset files to.

This flag is mutually exclusive with `--output-zip`, and provides the equivalent output, but in the form of a directory with files, instead of a compressed zip archive.
Expand Down Expand Up @@ -540,7 +540,7 @@ For short help type: `nextclade -h`, for extended help type: `nextclade --help`.

You can host your own dataset server, with one or more datasets, grouped into dataset collections, and use this server to provide datasets to users of Nextclade CLI and Nextclade Web. Refer to Nextclade dataset documentation for more details.

Default value: `https://data.master.clades.nextstrain.org/v3`

* `-x`, `--proxy <PROXY>` — Pass all traffic over proxy server. HTTP, HTTPS, and SOCKS5 proxies are supported
* `--proxy-user <PROXY_USER>` — Username for basic authentication on proxy server, if applicable. Only valid when `--proxy` is also supplied. `--proxy-user` and `--proxy-pass` must be either both specified or both omitted
* `--proxy-pass <PROXY_PASS>` — Password for basic authentication on proxy server, if applicable. Only valid when `--proxy` is also supplied. `--proxy-user` and `--proxy-pass` must be either both specified or both omitted
Expand Down
2 changes: 2 additions & 0 deletions packages/nextclade-cli/src/cli/print_help_markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ If you have Nextclade CLI installed, you can type `nextclade --help` to read the
"$orig",
)?;

let help = replace(&help, "Default value: `https://(.*)`", "")?;

let help = replace(&help, "", "")?;

println!("{help}");
Expand Down

0 comments on commit c44dd13

Please sign in to comment.