Skip to content

Commit

Permalink
update command output (#1221)
Browse files Browse the repository at this point in the history
Co-authored-by: mattsse <mattsse@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and mattsse authored Jun 16, 2024
1 parent b08ee97 commit 247dbec
Show file tree
Hide file tree
Showing 45 changed files with 228 additions and 50 deletions.
2 changes: 1 addition & 1 deletion src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
- [`cast wallet verify`](./reference/cli/cast/wallet/verify.md)
- [`cast wallet import`](./reference/cli/cast/wallet/import.md)
- [`cast wallet list`](./reference/cli/cast/wallet/list.md)
- [`cast wallet derive-private-key`](./reference/cli/cast/wallet/derive-private-key.md)
- [`cast wallet private-key`](./reference/cli/cast/wallet/private-key.md)
- [`cast wallet decrypt-keystore`](./reference/cli/cast/wallet/decrypt-keystore.md)
- [`anvil`](./reference/cli/anvil.md)
- [`anvil completions`](./reference/cli/anvil/completions.md)
Expand Down
2 changes: 1 addition & 1 deletion src/output/cast/cast-call

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/output/cheatcodes/forge-test-cheatcodes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/output/cheatcodes/forge-test-cheatcodes-expectrevert

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/output/cheatcodes/forge-test-cheatcodes-tracing

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/output/cheatcodes/forge-test-simple

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/output/deps/forge-install

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/output/foundry-template/forge-build

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/output/foundry-template/forge-test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/output/fuzz_testing/forge-test-fail-fuzz

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/output/fuzz_testing/forge-test-no-fuzz

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/output/fuzz_testing/forge-test-success-fuzz

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/output/hello_foundry/forge-build

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/output/hello_foundry/forge-init

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/output/hello_foundry/forge-test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/output/nft_tutorial/forge-test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/output/test_filters/forge-test-match-contract-and-test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/output/test_filters/forge-test-match-path

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/reference/cli/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
- [`cast wallet verify`](./cast/wallet/verify.md)
- [`cast wallet import`](./cast/wallet/import.md)
- [`cast wallet list`](./cast/wallet/list.md)
- [`cast wallet derive-private-key`](./cast/wallet/derive-private-key.md)
- [`cast wallet private-key`](./cast/wallet/private-key.md)
- [`cast wallet decrypt-keystore`](./cast/wallet/decrypt-keystore.md)

- [`anvil`](./anvil.md)
Expand Down
4 changes: 4 additions & 0 deletions src/reference/cli/cast/access-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,8 @@ Wallet options - hardware wallet:

-t, --trezor
Use a Trezor hardware wallet

Wallet options - remote:
--aws
Use AWS Key Management Service
```
6 changes: 5 additions & 1 deletion src/reference/cli/cast/block-number.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ Get the latest block number

```bash
$ cast block-number --help
Usage: cast block-number [OPTIONS]
Usage: cast block-number [OPTIONS] [BLOCK]

Arguments:
[BLOCK]
The hash or tag to query. If not specified, the latest number is returned

Options:
-r, --rpc-url <URL>
Expand Down
4 changes: 4 additions & 0 deletions src/reference/cli/cast/call.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,8 @@ Wallet options - hardware wallet:

-t, --trezor
Use a Trezor hardware wallet

Wallet options - remote:
--aws
Use AWS Key Management Service
```
4 changes: 4 additions & 0 deletions src/reference/cli/cast/estimate.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,8 @@ Wallet options - hardware wallet:

-t, --trezor
Use a Trezor hardware wallet

Wallet options - remote:
--aws
Use AWS Key Management Service
```
4 changes: 4 additions & 0 deletions src/reference/cli/cast/logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,8 @@ Wallet options - hardware wallet:

-t, --trezor
Use a Trezor hardware wallet

Wallet options - remote:
--aws
Use AWS Key Management Service
```
4 changes: 4 additions & 0 deletions src/reference/cli/cast/mktx.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,8 @@ Wallet options - hardware wallet:

-t, --trezor
Use a Trezor hardware wallet

Wallet options - remote:
--aws
Use AWS Key Management Service
```
4 changes: 4 additions & 0 deletions src/reference/cli/cast/send.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,8 @@ Wallet options - hardware wallet:
-t, --trezor
Use a Trezor hardware wallet
Wallet options - remote:
--aws
Use AWS Key Management Service
```
3 changes: 3 additions & 0 deletions src/reference/cli/cast/storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ Build options:

`test` and `script` are aliases for `.t.sol` and `.s.sol`.

-p, --paths [<PATHS>...]
Build source files from specified paths

Linker options:
--libraries <LIBRARIES>
Set pre-linked libraries
Expand Down
22 changes: 11 additions & 11 deletions src/reference/cli/cast/wallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ $ cast wallet --help
Usage: cast wallet <COMMAND>

Commands:
new Create a new random keypair [aliases: n]
new-mnemonic Generates a random BIP39 mnemonic phrase [aliases: nm]
vanity Generate a vanity address [aliases: va]
address Convert a private key to an address [aliases: a, addr]
sign Sign a message or typed data [aliases: s]
verify Verify the signature of a message [aliases: v]
import Import a private key into an encrypted keystore [aliases: i]
list List all the accounts in the keystore default directory [aliases: ls]
derive-private-key Derives private key from mnemonic [aliases: --derive-private-key]
decrypt-keystore Decrypt a keystore file to get the private key [aliases: dk]
help Print this message or the help of the given subcommand(s)
new Create a new random keypair [aliases: n]
new-mnemonic Generates a random BIP39 mnemonic phrase [aliases: nm]
vanity Generate a vanity address [aliases: va]
address Convert a private key to an address [aliases: a, addr]
sign Sign a message or typed data [aliases: s]
verify Verify the signature of a message [aliases: v]
import Import a private key into an encrypted keystore [aliases: i]
list List all the accounts in the keystore default directory [aliases: ls]
private-key Derives private key from mnemonic [aliases: pk]
decrypt-keystore Decrypt a keystore file to get the private key [aliases: dk]
help Print this message or the help of the given subcommand(s)

Options:
-h, --help Print help
Expand Down
4 changes: 4 additions & 0 deletions src/reference/cli/cast/wallet/address.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,8 @@ Wallet options - hardware wallet:

-t, --trezor
Use a Trezor hardware wallet

Wallet options - remote:
--aws
Use AWS Key Management Service
```
1 change: 1 addition & 0 deletions src/reference/cli/cast/wallet/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Options:
directory is used if no path provided
-l, --ledger List accounts from a Ledger hardware wallet
-t, --trezor List accounts from a Trezor hardware wallet
--aws List accounts from AWS KMS
--all List all configured accounts
-m, --max-senders <MAX_SENDERS> Max number of addresses to display from hardware wallets
[default: 3]
Expand Down
1 change: 1 addition & 0 deletions src/reference/cli/cast/wallet/new-mnemonic.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ Usage: cast wallet new-mnemonic [OPTIONS]
Options:
-w, --words <WORDS> Number of words for the mnemonic [default: 12]
-a, --accounts <ACCOUNTS> Number of accounts to display [default: 1]
-e, --entropy <ENTROPY> Entropy to use for the mnemonic
-h, --help Print help
```
Loading

0 comments on commit 247dbec

Please sign in to comment.