macro_rules! intro {
() => { ... };
($arg:expr) => { ... };
($($arg:tt)*) => { ... };
}Expand description
Intro message.
Write a message to start a prompt session.
Can take either a fmt string like format!, a type that implements std::fmt::Display, or nothing.
ยงExamples
use may_clack::intro;
// empty
intro!();
// fmt string
intro!("fmt {:?}", "string");
// impl Display
intro!("text");
intro!(4);