Skip to content

Commit

Permalink
Updated CLI docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk committed Sep 19, 2024
1 parent 208e9f0 commit 5538120
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ Run in offline mode
###### **Options:**

* `-b`, `--bootstrap-file <BOOTSTRAP_FILE>` — The file to load our features from. This data will be loaded at startup
* `-t`, `--tokens <TOKENS>` — Tokens that should be allowed to connect to Edge. Supports a comma separated list or multiple instances of the `--tokens` argument
* `-t`, `--tokens <TOKENS>` — Tokens that should be allowed to connect to Edge. Supports a comma separated list or multiple instances of the `--tokens` argument (v19.4.0) deprecated "Please use --client-tokens | CLIENT_TOKENS instead"
* `-c`, `--client-tokens <CLIENT_TOKENS>` — Client tokens that should be allowed to connect to Edge. Supports a comma separated list or multiple instances of the `--client-tokens` argument
* `-f`, `--frontend-tokens <FRONTEND_TOKENS>` — Frontend tokens that should be allowed to connect to Edge. Supports a comma separated list or multiple instances of the `--frontend-tokens` argument
* `-r`, `--reload-interval <RELOAD_INTERVAL>` — The interval in seconds between reloading the bootstrap file. Disabled if unset or 0

Default value: `0`
Expand Down Expand Up @@ -194,4 +196,3 @@ Perform a ready check against a running edge instance
This document was generated automatically by
<a href="https://crates.io/crates/clap-markdown"><code>clap-markdown</code></a>.
</i></small>

1 change: 1 addition & 0 deletions server/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ pub struct OfflineArgs {
#[clap(short, long, env)]
pub bootstrap_file: Option<PathBuf>,
/// Tokens that should be allowed to connect to Edge. Supports a comma separated list or multiple instances of the `--tokens` argument
/// (v19.4.0) deprecated "Please use --client-tokens | CLIENT_TOKENS instead"
#[clap(short, long, env, value_delimiter = ',')]
pub tokens: Vec<String>,
/// Client tokens that should be allowed to connect to Edge. Supports a comma separated list or multiple instances of the `--client-tokens` argument
Expand Down

0 comments on commit 5538120

Please sign in to comment.