Skip to main content

is_plain_runtime_metadata_command

Function is_plain_runtime_metadata_command 

Source
pub fn is_plain_runtime_metadata_command(parsed: &Args) -> bool
Expand description

Whether --help/--list-models should run without taking over stdout.

Mirrors isPlainRuntimeMetadataCommand (main.ts:116-118): true when the user did not pass --print or an explicit --mode and is asking for --help or --list-models. These commands print to stdout directly without the protocol takeover so the output reaches the user even when the runtime is built (e.g. to discover extension flags).