Protected
Readonly
Whether a /name token should be treated as a command. Only names that actually resolve to a command or prompt fragment are accepted, which keeps unknown /word tokens (e.g. /tmp, /path/to/file) as plain text.
/name
/word
/tmp
/path/to/file
Try to parse a command at the start of the given message.
Commands are syntactic sugar for #prompt:commandName|args. The prompt variable resolver will handle the actual resolution.
#prompt:commandName|args
Whether a
/nametoken should be treated as a command. Only names that actually resolve to a command or prompt fragment are accepted, which keeps unknown/wordtokens (e.g./tmp,/path/to/file) as plain text.