MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / success

Method success

crates/chat-cli/src/theme/crossterm_ext.rs:122–124  ·  view source on GitHub ↗

Create success-styled text

(text: &str)

Source from the content-addressed store, hash-verified

120
121 /// Create success-styled text
122 pub fn success(text: &str) -> String {
123 format!("\x1b[{}m{}\x1b[0m", color_to_ansi_code(theme().status.success), text)
124 }
125
126 // ===== Low-level crossterm command methods =====
127 // These return crossterm commands for complex terminal operations

Callers 3

download_feed_jsonFunction · 0.45
install_method.rsFile · 0.45
launch_editorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected