Skip to main content

Module eval

Module eval 

Source
Expand description

Shared eval logic for CLI and TUI surfaces (ADR-0021 Phase 3a).

Re-exports§

pub use convert::parse_scalar_reply;

Modules§

convert

Enums§

RenderMode
How the value part of a wire reply is rendered.
Rendered
Output of a single eval_form call, ready for the caller to emit.

Functions§

build_delete_script_form
Build the nomiscript form for (delete-script uuid).
build_delete_tag_form
Build the nomiscript form for (delete-tag uuid).
build_delete_template_form
Build the nomiscript form for (delete-template uuid).
build_delete_transaction_form
Build the nomiscript form for (delete-transaction uuid).
build_remove_ssh_key_form
Build the nomiscript form for (remove-ssh-key "fingerprint").
config_text
The text a get-config reply holds; None when the key is not set.
config_texts
The texts of a (list (get-config …) …) reply, one per call; None for an unset key.
escape_str
Quote a string for a nomiscript literal.
eval_form
Evaluate form via session, render the reply according to mode.