Back to Ratatui

Cli.rs

src/content/docs/templates/component/cli-rs.md

latest214 B
Original Source

The cli.rs file is where we define the command line arguments for our app.

rust
{{#include @code/templates/components_async/src/cli.rs:all}}

It uses the clap crate to define the command line interface.