Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

rust_cli

Reference page pulled from app-context-kit at commit 4797e81. Edit it in the Kit, not here.

The same program as ../dart_cli, using the Rust crate in rust/: same app.json, same directories, same settings file.

Run it (from this directory). APP_CONTEXT_SCRATCH keeps everything in one throwaway folder:

APP_CONTEXT_SCRATCH=/tmp/app-context-demo-rs cargo run

It prints this, and launches goes up by one each time you run it:

app      dev.example.hello 0.1.0
mode     real (scratch)
data     /tmp/app-context-demo-rs/dev.example.hello/data
config   /tmp/app-context-demo-rs/dev.example.hello/config
launches 1
venue    Venue: local (Venue is off for this app)

The crate has no remote Venue session, so the last line always reports the local session. See Getting started.