Skip to content

Commit

Permalink
update command output (#1264)
Browse files Browse the repository at this point in the history
Co-authored-by: mattsse <[email protected]>
  • Loading branch information
github-actions[bot] and mattsse committed Aug 25, 2024
1 parent 6befa70 commit bdcb98d
Show file tree
Hide file tree
Showing 33 changed files with 90 additions and 58 deletions.
1 change: 1 addition & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@
- [`cast from-wei`](./reference/cli/cast/from-wei.md)
- [`cast gas-price`](./reference/cli/cast/gas-price.md)
- [`cast generate-fig-spec`](./reference/cli/cast/generate-fig-spec.md)
- [`cast hash-message`](./reference/cli/cast/hash-message.md)
- [`cast hash-zero`](./reference/cli/cast/hash-zero.md)
- [`cast implementation`](./reference/cli/cast/implementation.md)
- [`cast index`](./reference/cli/cast/index.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.

6 changes: 3 additions & 3 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.

8 changes: 4 additions & 4 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.

8 changes: 4 additions & 4 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.

6 changes: 3 additions & 3 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.

1 change: 1 addition & 0 deletions src/reference/cli/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
- [`cast from-wei`](./cast/from-wei.md)
- [`cast gas-price`](./cast/gas-price.md)
- [`cast generate-fig-spec`](./cast/generate-fig-spec.md)
- [`cast hash-message`](./cast/hash-message.md)
- [`cast hash-zero`](./cast/hash-zero.md)
- [`cast implementation`](./cast/implementation.md)
- [`cast index`](./cast/index.md)
Expand Down
1 change: 1 addition & 0 deletions src/reference/cli/cast.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Commands:
from-wei Convert wei into an ETH amount [aliases: --from-wei, fw]
gas-price Get the current gas price [aliases: g]
generate-fig-spec Generate Fig autocompletion spec [aliases: fig]
hash-message Hash a message according to EIP-191 [aliases: --hash-message, hm]
hash-zero Prints the zero hash [aliases: --hash-zero, hz]
help Print this message or the help of the given subcommand(s)
implementation Fetch the EIP-1967 implementation account [aliases: impl]
Expand Down
2 changes: 2 additions & 0 deletions src/reference/cli/cast/create2.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Options:
-c, --case-sensitive Case sensitive matching
-d, --deployer <ADDRESS> Address of the contract deployer [default:
0x4e59b44847b379578588920ca78fbf26c0b4956c]
--salt <HEX> Salt to be used for the contract deployment. This option separate
from the default salt mining with filters
-i, --init-code <HEX> Init code of the contract to be deployed
--init-code-hash <HASH> Init code hash of the contract to be deployed
-j, --jobs <JOBS> Number of threads to use. Defaults to and caps at the number of
Expand Down
14 changes: 14 additions & 0 deletions src/reference/cli/cast/hash-message.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# cast hash-message

Hash a message according to EIP-191

```bash
$ cast hash-message --help
Usage: cast hash-message [MESSAGE]

Arguments:
[MESSAGE] The message to hash

Options:
-h, --help Print help
```
5 changes: 5 additions & 0 deletions src/reference/cli/cast/send.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ Options:
--unlocked
Send via `eth_sendTransaction using the `--from` argument or $ETH_FROM as sender
--timeout <TIMEOUT>
Timeout for sending the transaction
[env: ETH_TIMEOUT=]
-h, --help
Print help (see a summary with '-h')
Expand Down
2 changes: 1 addition & 1 deletion src/reference/cli/chisel.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ EVM options:
The initial balance of deployed test contracts

--sender <ADDRESS>
The address which will be executing tests
The address which will be executing tests/scripts

--ffi
Enable the FFI cheatcode
Expand Down
2 changes: 1 addition & 1 deletion src/reference/cli/forge.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Commands:
test Run the project's tests [aliases: t]
tree Display a tree visualization of the project's dependency graph [aliases: tr]
update Update one or multiple dependencies [aliases: u]
verify-bytecode Verify the deployed bytecode against its source [aliases: vb]
verify-bytecode Verify the deployed bytecode against its source on Etherscan [aliases: vb]
verify-check Check verification status on Etherscan [aliases: vc]
verify-contract Verify smart contracts on Etherscan [aliases: v]

Expand Down
2 changes: 1 addition & 1 deletion src/reference/cli/forge/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ EVM options:
The initial balance of deployed test contracts

--sender <ADDRESS>
The address which will be executing tests
The address which will be executing tests/scripts

--ffi
Enable the FFI cheatcode
Expand Down
2 changes: 1 addition & 1 deletion src/reference/cli/forge/coverage.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ EVM options:
The initial balance of deployed test contracts
--sender <ADDRESS>
The address which will be executing tests
The address which will be executing tests/scripts
--ffi
Enable the FFI cheatcode
Expand Down
5 changes: 5 additions & 0 deletions src/reference/cli/forge/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ Options:
The standard json compiler input can be used to manually submit contract verification in
the browser.

--timeout <TIMEOUT>
Timeout to use for broadcasting transactions

[env: ETH_TIMEOUT=]

-h, --help
Print help (see a summary with '-h')

Expand Down
2 changes: 1 addition & 1 deletion src/reference/cli/forge/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ EVM options:
The initial balance of deployed test contracts

--sender <ADDRESS>
The address which will be executing tests
The address which will be executing tests/scripts

--ffi
Enable the FFI cheatcode
Expand Down
7 changes: 6 additions & 1 deletion src/reference/cli/forge/script.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ Options:

[env: ETH_GAS_PRICE=]

--timeout <TIMEOUT>
Timeout to use for broadcasting transactions

[env: ETH_TIMEOUT=]

-h, --help
Print help (see a summary with '-h')

Expand Down Expand Up @@ -336,7 +341,7 @@ EVM options:
The initial balance of deployed test contracts

--sender <ADDRESS>
The address which will be executing tests
The address which will be executing tests/scripts

--ffi
Enable the FFI cheatcode
Expand Down
2 changes: 1 addition & 1 deletion src/reference/cli/forge/snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ EVM options:
The initial balance of deployed test contracts
--sender <ADDRESS>
The address which will be executing tests
The address which will be executing tests/scripts
--ffi
Enable the FFI cheatcode
Expand Down
2 changes: 1 addition & 1 deletion src/reference/cli/forge/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ EVM options:
The initial balance of deployed test contracts
--sender <ADDRESS>
The address which will be executing tests
The address which will be executing tests/scripts
--ffi
Enable the FFI cheatcode
Expand Down
Loading

0 comments on commit bdcb98d

Please sign in to comment.