Skip to content

Commit

Permalink
update command output (#1258)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 11, 2024
1 parent 7c8eda2 commit 44853ec
Show file tree
Hide file tree
Showing 20 changed files with 83 additions and 50 deletions.
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.

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

4 changes: 4 additions & 0 deletions src/reference/cli/cast/call.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ Options:
-h, --help
Print help (see a summary with '-h')

Display options:
-j, --json
Print the decoded output as JSON

Transaction options:
--gas-limit <GAS_LIMIT>
Gas limit for the transaction
Expand Down
14 changes: 8 additions & 6 deletions src/reference/cli/cast/interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,19 @@ Generate a Solidity interface from a given ABI.

```bash
$ cast interface --help
Usage: cast interface [OPTIONS] <PATH_OR_ADDRESS>
Usage: cast interface [OPTIONS] <CONTRACT>

Arguments:
<PATH_OR_ADDRESS>
The contract address, or the path to an ABI file.

If an address is specified, then the ABI is fetched from Etherscan.
<CONTRACT>
The target contract, which can be one of: - A file path to an ABI JSON file. - A contract
identifier in the form `<path>:<contractname>` or just `<contractname>`. - An Ethereum
address, for which the ABI will be fetched from Etherscan

Options:
-n, --name <NAME>
The name to use for the generated interface
The name to use for the generated interface.

Only relevant when retrieving the ABI from a file.

-p, --pragma <VERSION>
Solidity pragma version
Expand Down
33 changes: 30 additions & 3 deletions src/reference/cli/forge/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,36 @@ Options:
--hostname <HOSTNAME>
Hostname for serving documentation

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

Watch options:
-w, --watch [<PATH>...]
Watch the given files or directories for changes.

If no paths are provided, the source and test directories of the project are watched.

--no-restart
Do not restart the command while it's still running
--run-all
Explicitly re-run all tests when a change is made.
By default, only the tests of the last modified test file are executed.
--watch-delay <DELAY>
File update debounce delay.
During the delay, incoming change events are accumulated and only once the delay has
passed, is an action taken. Note that this does not mean a command will be started: if
--no-restart is given and a command is already running, the outcome of the action will be
to do nothing.
Defaults to 50ms. Parses as decimal seconds by default, but using an integer with the `ms`
suffix may be more convenient.
When using --poll mode, you'll want a larger duration, or risk overloading disk I/O.

-p, --port <PORT>
Port for serving documentation

Expand All @@ -38,7 +68,4 @@ Options:

-i, --include-libraries
Whether to create docs for external libraries

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

0 comments on commit 44853ec

Please sign in to comment.