Skip to main content

Module cli

Module cli 

Source
Expand description

The talea CLI: thin shim over TaleaClient. execute returns the response as JSON (None for 204 ops) so tests never need a subprocess; run adds printing and the streaming tail loop.

Modules§

parse
Pure arg -> draft parsers. No I/O, no clap types: trivially testable.

Structs§

Cli

Enums§

AccountCmd
AssetCmd
Command

Functions§

execute
Run one non-streaming command, returning the response as JSON (None for 204 operations). Tests call this directly.
run
Full CLI entry: printing + the streaming tail loop.