Skip to content

Commit

Permalink
Updating documentation to include command options
Browse files Browse the repository at this point in the history
  • Loading branch information
valefar-on-discord committed Jun 9, 2024
1 parent 395e9cd commit 1d50d42
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/src/existing_mnemonic.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Description
Uses an existing BIP-39 mnemonic phrase for key generation.

## Arguments
## Optional Arguments

- **`--chain`**: The chain to use for generating the deposit data. Options are: 'mainnet', 'holesky', etc...

Expand Down
2 changes: 1 addition & 1 deletion docs/src/exit_transaction_keystore.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Description
Creates an exit transaction using a keystore file.

## Arguments
## Optional Arguments

- **`--chain`**: The chain to use for generating the deposit data. Options are: 'mainnet', 'holesky', etc.

Expand Down
2 changes: 1 addition & 1 deletion docs/src/exit_transaction_mnemonic.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Description
Creates an exit transaction using a mnemonic phrase.

## Arguments
## Optional Arguments

- **`--chain`**: The chain to use for generating the deposit data. Options are: 'mainnet', 'holesky', etc.

Expand Down
2 changes: 1 addition & 1 deletion docs/src/generate_bls_to_execution_change.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Description
Generates a BLS to execution address change message.

## Arguments
## Optional Arguments

- **`--bls_to_execution_changes_folder`**: The path to store the change JSON file.

Expand Down
16 changes: 16 additions & 0 deletions docs/src/landing.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,22 @@ Here are some core recommendations:

If you want to start creating validator keys, please follow the [Quick Setup Instructions](quick_setup.md) or if you would like to run locally, view the [Local Development Instructions](local_development.md).

The general usage of the CLI is:
```sh
./deposit [OPTIONS] COMMAND [ARGS]
```

## Command Options

Each CLI command has a number of command options that can be provided:

- **--language**: The language you wish to use the CLI in. Options: العربية, ελληνικά, English, Français, Bahasa melayu, Italiano, 日本語, 한국어, Português do Brasil, român, 简体中文. Default to English.

- **--non_interactive**: Run CLI in non-interactive mode. This will skip all confirmation and internet connectivity checks.

- **--ignore_connectivity**: Skip internet connectivity check and warning.


## Commands

**You are not required to specify each argument when executing the command. We will prompt you for each argument for security purposes.**
Expand Down
2 changes: 1 addition & 1 deletion docs/src/new_mnemonic.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Description
Generates a new BIP-39 mnemonic along with validator keystore and deposit files depending on how many validators you wish to create.

## Arguments
## Optional Arguments

- **`--mnemonic_language`**: The language of the BIP-39 mnemonic. Options are: 'chinese_simplified', 'chinese_traditional', 'czech', 'english', 'french', 'italian', 'japanese', 'korean', 'portuguese', 'spanish'.

Expand Down
2 changes: 2 additions & 0 deletions docs/src/quick_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ gpg --verify staking_deposit-cli-***.asc staking_deposit-cli-***

## Step 3: Usage

**Windows users:** You should replace `./deposit` with `deposit.exe` to run properly.

**MacOS users:** In order to run from the terminal, you must first open the file to bypass MacOS code signing issues. Do so by right clicking the `deposit` file and then selecting `Open`.

Determine which command best suites what you would like to accomplish:
Expand Down

0 comments on commit 1d50d42

Please sign in to comment.