foundry-rs / foundry

Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
https://getfoundry.sh
Apache License 2.0
8.02k stars 1.64k forks source link

Feature: `forge <cmd> --tutor` to enable self diagnosis of command issues #5631

Open sambacha opened 1 year ago

sambacha commented 1 year ago

Component

Forge, Cast, Anvil, Chisel

Describe the feature you would like

--tutor to show examples of correct full command usage

forge <cmd> --tutor to enable self diagnosis of command issues and examples.

Showing examples or even a forge --tutor to show a Beginners guide without leaving the terminal to check the foundry book.

fzf search for command assisted completion, though, this would be similar to how GitHub CoPilot gives you hints in an IDE like VSCode where you tab complete the suggesteion.

Additional context

No response

iFrostizz commented 11 months ago

More like man pages?

sambacha commented 2 weeks ago

More like man pages?

https://garnix.io/blog/contextual-cli