Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Rust CLI From Zero

Pragmatic AI Labs via Coursera

Overview

Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Build production-quality command-line tools in Rust for data engineering. You move from a first hello-world CLI through real argument parsing with `clap`, ergonomic error handling with `anyhow`, and structured logging with `env_logger`. From there you learn subcommand design patterns suited to data pipelines (`ingest`, `transform`, `filter`, `export`), input validation that fails fast with a helpful message, and the data-specific flags (`--format`, `--output`, `--delimiter`, `--column`, `--limit`) every CSV and JSON tool needs. The course closes with packaging: Cargo metadata, publishing to crates.io, and a multi-stage Docker container. Along the way you learn the Rust toolchain — rustup, cargo, rust-analyzer — modules and the crates.io ecosystem, the difference between `Result` and `panic!`, and the discipline of `stderr` versus `stdout`. The capstone is `datactl`, a Rust CLI you build from scratch that reads, summarizes, filters, and exports CSV and JSON files. By the end you will have shipped a small, fast, statically-linked binary you can run anywhere.

Syllabus

  • Week 1: CLI Foundations
    • From a first hello-world CLI to a well-structured Rust crate. You set up the toolchain, parse arguments, organize code across modules, and replace panics with Result-based error handling.
  • Week 2: Production CLIs
    • Building Production CLIs in Rust
  • Week 3: Course Conclusion
    • Critical Thinking, Capstone Exercise and Final Steps

Taught by

Noah Gift and Alfredo Deza

Reviews

Start your review of Rust CLI From Zero

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.