cli_header

Function cli_header 

Source
pub fn cli_header(text: &str)
Expand description

Displays a formatted header in the terminal.

Outputs the given text with 30 dashes at the top and bottom to create a header section.

§Arguments

  • text - The text to display in the header

§Example

use falcon_cli::cli_header;

cli_header("My Application");
// Output:
// ------------------------------
// -- My Application
// ------------------------------