sta_cli library
Functions
-
blue(
String text) → String -
confirm(
String question, {bool defaultYes = true}) → bool - Confirm yes/no question. Returns true for yes.
-
cyan(
String text) → String -
gray(
String text) → String -
green(
String text) → String -
magenta(
String text) → String -
printBanner(
) → void -
printDivider(
) → void -
printError(
String message) → void -
printInfo(
String message) → void -
printStep(
int step, int total, String message) → void -
printSuccess(
String message) → void -
printWarning(
String message) → void -
prompt(
String question, {String? defaultValue}) → String - Prompt user with a question and return the answer.
-
red(
String text) → String -
selectOption(
String question, List< String> options, {int defaultIndex = 0}) → int - Ask user to select from options. Returns the selected index (0-based).
-
white(
String text) → String -
yellow(
String text) → String