Skip to content

Commit

Permalink
chore(output): weekly command output update (#1336)
Browse files Browse the repository at this point in the history
update command output

Co-authored-by: mattsse <[email protected]>
  • Loading branch information
github-actions[bot] and mattsse authored Oct 20, 2024
1 parent c1fe66d commit 4317603
Show file tree
Hide file tree
Showing 21 changed files with 98 additions and 38 deletions.
2 changes: 2 additions & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@
- [`forge cache ls`](./reference/cli/forge/cache/ls.md)
- [`forge clean`](./reference/cli/forge/clean.md)
- [`forge clone`](./reference/cli/forge/clone.md)
- [`forge compiler`](./reference/cli/forge/compiler.md)
- [`forge compiler resolve`](./reference/cli/forge/compiler/resolve.md)
- [`forge completions`](./reference/cli/forge/completions.md)
- [`forge config`](./reference/cli/forge/config.md)
- [`forge coverage`](./reference/cli/forge/coverage.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.

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.

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

2 changes: 2 additions & 0 deletions src/reference/cli/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
- [`forge cache ls`](./forge/cache/ls.md)
- [`forge clean`](./forge/clean.md)
- [`forge clone`](./forge/clone.md)
- [`forge compiler`](./forge/compiler.md)
- [`forge compiler resolve`](./forge/compiler/resolve.md)
- [`forge completions`](./forge/completions.md)
- [`forge config`](./forge/config.md)
- [`forge coverage`](./forge/coverage.md)
Expand Down
1 change: 1 addition & 0 deletions src/reference/cli/forge.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Commands:
clean Remove the build artifacts and cache directories [aliases:
cl]
clone Clone a contract from Etherscan
compiler Compiler utilities
completions Generate shell completions script [aliases: com]
config Display the current config [aliases: co]
coverage Generate coverage reports
Expand Down
19 changes: 19 additions & 0 deletions src/reference/cli/forge/compiler.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# forge compiler

Compiler utilities

```bash
$ forge compiler --help
```

```txt
Usage: forge compiler <COMMAND>
Commands:
resolve Retrieves the resolved version(s) of the compiler within the project
[aliases: r]
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
```
36 changes: 36 additions & 0 deletions src/reference/cli/forge/compiler/resolve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# forge compiler resolve

Retrieves the resolved version(s) of the compiler within the project

```bash
$ forge compiler resolve --help
```

```txt
Usage: forge compiler resolve [OPTIONS]
Options:
-r, --root <PATH>
The root directory
-s, --skip <REGEX>
Skip files that match the given regex pattern
-h, --help
Print help (see a summary with '-h')
Display options:
-v, --verbosity...
Verbosity of the output.
Pass multiple times to increase the verbosity (e.g. -v, -vv, -vvv).
Verbosity levels:
- 0: Print compiler versions.
- 1: Print compiler version and source paths.
- 2: Print compiler version, source paths and max supported EVM
version of the compiler.
-j, --json
Print as JSON
```

0 comments on commit 4317603

Please sign in to comment.