Course / Pro

Creating a Digital Garden CLI with Rust

In this course, Chris takes a README-driven approach to build out a Rust CLI that supports content authoring for a digital garden.

Joel Hooks

In this course, Chris takes a README-driven approach to build out a Rust CLI that supports content authoring for a digital garden.

Specifically, you'll work through the first command for the CLI, writing files. You start by initializing a new Cargo binary crate through creating the write command that allows you to create files (and their contents) to the folder that you set.

Step by step you'll learn about:

  • Handling user input
  • Error handling
  • Rust Move semantics
  • Rust Copy semantics
  • Integration testing

...and more!