Build a simple CLI tools in 13 minutes using Rust!
Keyboard: https://amzn.to/3UK4o66 (E-Yooso Z-88, brown switches)
Mic: https://amzn.to/3UolaaC (Blue Yeti)
Trackpad: https://amzn.to/3WTq3e1 (Apple)
In this video, we will build a simple CLI to create, list and delete todo items
Those items will be stored as files.
🚀 Tools used in this video:
rust
cargo
VSCode + rust extension
structopt crate
🚀 Source code available on my GitHub account: https://github.com/maxday/yt-cli-rust
🚀 Twitter: / _maxday
🚀 Content of the video
00:00 Generate an empty project
00:17 Command skeleton
01:44 First test
01:55 Implement the "Add" subcommand
05:42 Error handling
07:01 Implement the "List" subcommand
11:06 Implement the "Remove" subcommand
13:06 Final result