-
Notifications
You must be signed in to change notification settings - Fork 13
Speed up quickstart guide's recommended commands by recommending using cargo run instead of building
#175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Replace the separate build step with `cargo run --bin parser_cli` to simplify the quickstart workflow. This eliminates the need to run `cargo build --release` and reference the binary path, reducing time-to-first-transaction from 5-15 minutes to under 2 minutes. Changes: - Remove cargo build --release step - Update all CLI examples to use cargo run --bin parser_cli - Simplify installation to just clone and run 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
cargo run instead of building
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Updates the Quickstart guide to reduce time-to-first-use by switching from an explicit release build step to running the CLI directly via cargo run, and aligns all Quickstart examples with that workflow.
Changes:
- Remove the standalone
cargo build --releasestep from the Quickstart. - Update all Quickstart CLI invocations to use
cargo run --bin parser_cli -- ....
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
docs/quickstart.mdx
Outdated
| @@ -14,27 +14,22 @@ description: Test your DApp's transactions with the VisualSign parser CLI | |||
| # Clone the repository | |||
| git clone https://github.com/anchorageoss/visualsign-parser.git | |||
| cd visualsign-parser/src | |||
Copilot
AI
Feb 7, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "Install the parser CLI" section now only clones + cds into the repo; it no longer actually builds or verifies the CLI. Consider either renaming this section (e.g., to reflect cloning) or adding a one-liner verification step (like running the CLI with --help) so readers know the tool is ready before moving on.
| cd visualsign-parser/src | |
| cd visualsign-parser/src | |
| # Verify the CLI is available (this will build and run the help output) | |
| cargo run --bin parser_cli -- --help |
docs/quickstart.mdx
Outdated
|
|
||
| ```bash | ||
| ./target/release/parser_cli --chain ethereum -t 0xf86c808504a817c800825208943535353535353535353535353535353535353535880de0b6b3a76400008025a0 --output human | ||
| cargo run --bin parser_cli -- --chain ethereum -t 0xf86c808504a817c800825208943535353535353535353535353535353535353535880de0b6b3a76400008025a0 --output human |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The example transaction hex was truncated and failed to parse. Updated with complete transaction hex and accurate output showing all fields. Also removed "What to check" section as it interrupted the quickstart flow. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Merged Setup section into Prerequisites and reformatted as a bullet point for consistency. Makes the guide more streamlined. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
closing this for now. this ended up being a refactor of the quick start page and lost its original intent. might come back to some of the ideas here |

Summary
cargo build --releasestep withcargo run --bin parser_cliImpact
Reduces time-to-first-transaction from 5-15 minutes to under 2 minutes by using faster dev builds that compile automatically on first
cargo run.Test plan
cargo run --bin parser_cli -- --helpworks from visualsign-parser/src🤖 Generated with Claude Code