Browse Source

add RUST_LOG=info to examples

master
Jonathan Strong 2 years ago
parent
commit
4fd262e906
  1. 6
      README.md
  2. 4
      doc/README.tera.md

6
README.md

@ -13,7 +13,7 @@ Specify the registry index either as a local path (`--index-path`)...
```console ```console
$ git clone https://github.com/rust-lang/crates.io-index.git $ git clone https://github.com/rust-lang/crates.io-index.git
$ registry-backup \ $ RUST_LOG=info registry-backup \
--index-path crates.io-index \ --index-path crates.io-index \
--output-path crates.io-crate-files \ --output-path crates.io-crate-files \
--requests-per-second 10 --requests-per-second 10
@ -22,7 +22,7 @@ $ registry-backup \
...or as an `--index-url` instead: ...or as an `--index-url` instead:
```console ```console
$ registry-backup \ $ RUST_LOG=info registry-backup \
--index-url ssh://git@ssh.shipyard.rs/shipyard-rs/crate-index.git \ --index-url ssh://git@ssh.shipyard.rs/shipyard-rs/crate-index.git \
--output-path shipyard-rs-crate-files \ --output-path shipyard-rs-crate-files \
--auth-token ${AUTH_TOKEN} # for private registry, need auth --auth-token ${AUTH_TOKEN} # for private registry, need auth
@ -174,7 +174,7 @@ The commands that mirror cargo commands (e.g. `just test`) are included for the
This file is generated using a template (`doc/README.tera.md`) rendered using updated outputs of the CLI menu, config sample, and other values. This file is generated using a template (`doc/README.tera.md`) rendered using updated outputs of the CLI menu, config sample, and other values.
This version of `README.md` was generated at `Fri, 09 Sep 2022 05:50:07 +0000` based on git commit `b7621e78`. This version of `README.md` was generated at `Fri, 09 Sep 2022 05:57:31 +0000` based on git commit `51824f0b`.
To (re-)generate the `README.md` file, use the justfile command: To (re-)generate the `README.md` file, use the justfile command:

4
doc/README.tera.md

@ -13,7 +13,7 @@ Specify the registry index either as a local path (`--index-path`)...
```console ```console
$ git clone https://github.com/rust-lang/crates.io-index.git $ git clone https://github.com/rust-lang/crates.io-index.git
$ registry-backup \ $ RUST_LOG=info registry-backup \
--index-path crates.io-index \ --index-path crates.io-index \
--output-path crates.io-crate-files \ --output-path crates.io-crate-files \
--requests-per-second 10 --requests-per-second 10
@ -22,7 +22,7 @@ $ registry-backup \
...or as an `--index-url` instead: ...or as an `--index-url` instead:
```console ```console
$ registry-backup \ $ RUST_LOG=info registry-backup \
--index-url ssh://git@ssh.shipyard.rs/shipyard-rs/crate-index.git \ --index-url ssh://git@ssh.shipyard.rs/shipyard-rs/crate-index.git \
--output-path shipyard-rs-crate-files \ --output-path shipyard-rs-crate-files \
--auth-token ${AUTH_TOKEN} # for private registry, need auth --auth-token ${AUTH_TOKEN} # for private registry, need auth

Loading…
Cancel
Save