tldart library
Classes
Properties
- parser ↔ ArgParser
-
Parser used by the cli
getter/setter pair
Functions
-
debug(
dynamic message) → void - Print debug logs. This should only print them if DEBUG env is non-empty
-
eprint(
dynamic error) → void - Print errors to std err
-
highlightVariables(
String line, Ansi ansi) → String - Remove curly braces and underline variables in a code example
-
home(
) → Directory - Get a user's home directory
-
render(
String content) → List< String> - Format a markdown file
-
showHelp(
ArgParser parser) → void - Print help message
-
updateCache(
Directory tldrDir) → Future< void> - Update the local cache