MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / print_section

Function print_section

atomic-cli/src/output/mod.rs:220–222  ·  view source on GitHub ↗

Print a section header. Use this to visually separate different sections of output. # Arguments `title` - The section title # Example ```rust,ignore print_section("Changes to be recorded:"); ```

(title: &str)

Source from the content-addressed store, hash-verified

218/// print_section("Changes to be recorded:");
219/// ```
220pub fn print_section(title: &str) {
221 println!("{}", emphasis(title));
222}
223
224/// Print a blank line for visual separation.
225pub fn print_blank() {

Callers 6

print_long_formatMethod · 0.85
run_previewFunction · 0.85
output_tableMethod · 0.85
output_defaultMethod · 0.85
output_defaultMethod · 0.85
output_defaultMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected