metro/live/live_shell
library
Classes
-
LiveShell
-
metro live: a prompt connected to the running app.
Functions
-
splitForCompletion(String line)
→ ({String current, List<String> words})
-
Splits the text before the cursor into the complete
words and the
current word being typed, for Tab completion.
-
splitLiveShellLine(String line)
→ List<String>
-
Splits a shell
line into words the way a POSIX shell does: whitespace
separates words, quotes group them, a backslash escapes the next
character, and # at the start of a word begins a comment.