printTestCliTitle function
void
printTestCliTitle({})
Prints the Bones_UI Test CLI title.
Implementation
void printTestCliTitle(
{bool showDartVersion = true,
bool showOSVersion = true,
String? testPlatform}) {
var dartVersion = Platform.version;
var os = Platform.operatingSystem;
var osVer = Platform.operatingSystemVersion;
var lines = [
bonesUiTestCliTitle,
if (showDartVersion) '» Dart: $dartVersion',
if (showOSVersion) '» OS: $os/$osVer',
if (testPlatform != null && testPlatform.isNotEmpty)
'» Platform: $testPlatform',
];
printBox(lines);
}