JavaScript Dev Learns Rust | Building a CLI tool with Rust and clap @CodingGarden
JavaScript Dev Learns Rust | Building a CLI tool with Rust and clap  @CodingGarden
Uploaded January 2024 | Updated November 2026, 3 hours ago
In this video I learn the basics of the Rust programming language LIVE while trying to build a CLI tool.

View the notes I took and code I wrote here: github.com/CodingGarden/tryday-friday/tree/main/2024-01-05

This is a highlight of a livestream. Watch the full stream here: youtube.com/watch?v=YF_pq7dSMh0

00:00 Rust Learning Resources
00:57 Learn X in Y Minutes
02:07 What is Rust?
04:56 Install / Setup Rust
05:32 Hello World
06:43 Creating a project with Cargo
07:38 What we will build today
08:49 Trying to write tests
09:41 Learning / Taking Notes
10:03 CLI Tool Description
10:21 Parsing CLI args with clap
14:18 Invoking system commands with Rust
20:31 Refactoring error messages
23:40 Remove directory with Rust
27:52 Printing colors with colored
29:23 Conclusions / Summary
31:11 Overall impressions of Rust

📩 Sign up for my mailing list: https://list.coding.garden/
💖 Donate: https://coding.garden/donate
😍 Pledge: https://coding.garden/pledge
🎉 Stickers: https://coding.garden/stickers
💻 Gear List: https://coding.garden/gear
🔎 Search for more Coding Garden videos here: https://coding.garden/videos
🗣 View the Coding Garden FAQ here: github.com/CodingGarden/faqs
JavaScript Dev Learns Rust | Building a CLI tool with Rust and clap🤓💬 CODING Q&A - Streaming APIs, Desktop Apps, ORMs, Undocumented APIs and more!I setup lint-staged and created a Zod config validator with SvelteKit - listd devlog - 2023-03-03🐉✨ Pokemon Coding Challenge and Opening a Vivid Voltage Charizard Theme Deck🎭 CODING IMPROV Episode 13 | Chat Controlled Equilibrium Scale Game4 Ways to Solve FizzBuzz | Daily Programmer | Episode 0Playing Clash of Code with Chat | Writing JS, Go | Reviewing JS, Ruby, Python, C++, C#, Go🎭 CODING IMPROV Episode 11 | Kitten Keys✌️ Exploring Vue.js 3.0Advent of Code 2025 | Day 1 and 2 | JavaScript / TypeScriptLets chat about ChatGPT🎄 Advent of Code - Day 7
Coding Garden |

JavaScript Dev Learns Rust | Building a CLI tool with Rust and clap

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER