app/utils/cli.helpers library

Properties

theme → Theme
Get the current theme
no setter

Functions

generateChoice(String name, [String? description, bool isDefault = false]) String
Generate a formatted choice line
getAppVersion() String
Get the version of the application
linkLine(String uri, [String? label]) String
Generate an interactive link line
toMegaBytes(int bytes, {int fractionDigits = 2}) String
Convert bytes to megabytes