A very simple tutorial of using Clap for CLI
Hi guys! 👋 I’ve spent an hour trying to find just a simple example of how to parse arguments when running a CLI using Clap in Rust. Most of the tutorials are outdated and too complicated, so I created a very simple one here. Hope this can save your time too!
Try:
cargo run greeting --greet Helle --name "John Doe"
Github 👉 https://github.com/mtreerungroj/hello-clap-rs
一緒に頑張ろう!また〜🫶
Yield farming = Auto compound + Leverage
Actions
Lend
- Deposit
- Withdraw
Farm
- Farm ETH-BNB 3.00x
- Farm CAKE 2.00x
- Farm CAKE-BNB 1.00x
- Claim
- Add collateral
- Close position: minimize trading, convert to xxx
Stake
- Approve
- Claim
- Unstake
Vault (2022 updated!)
- Invest