Crust logoCrust

Guide

Build a CLI with Crust, from one command to a published binary.

Read in order the first time; later pages assume the vocabulary of earlier ones.

  1. Define: commands, arguments and flags, and values and validation.
  2. Compose: Contexts for shared setup and Extensions for app-wide behavior.
  3. Run: error handling and testing.
  4. Ship: runtime support and build and distribution.