Skip to main content

Module vista_cli

Module vista_cli 

Source
Expand description

Generic model-driven CLI runner, Vista edition.

Mirrors crate::model_cli but drives a Vista instead of an AnyTable. The token shapes and flow are identical (model_name, field=value, [N], :relation, =col1,col2) — only the underlying type changes.

See model_cli for the full token-shape reference; this module repeats only the behaviour notes that differ for Vista.

Enums§

Mode
Whether the current state is a list of records or a single record.

Traits§

ModelFactory
Resolves model identifiers (singular/plural names, ARNs) to Vistas. Implemented per-backend.
Renderer
Backend hook for printing list and single-record results.

Functions§

run
Run a Vista-backed model-driven CLI.