Skip to main content

command_headline_with_args

Function command_headline_with_args 

Source
pub fn command_headline_with_args(command: &str) -> String
Expand description

Command text for user-visible Ran … rows, arguments included.

Reuses preview_full_command so script-runner prefixes (for example python3 -c ") still fold into readable content. Unlike compact_command_headline, this keeps every argument of the first command: users must be able to tell what was actually executed from the transcript, not only which program was launched.