Command/Input | Arguments | Description |
---|
Enter key | N/A | Submit current command or input. |
Up/Down arrows keys | N/A | Navigate command history. |
Tab key | N/A | Auto-complete. In this demo, autocomplete supports the list of commands below. For
example, typing 'f' and then hitting the tab key would result in an auto-completion
of 'freeform-demo'. |
echo | message <string> | Prints the message back to the terminal. |
warn | message <string> | Prints a warning message back to the terminal. |
error | message <string> | Prints an error message back to the terminal. |
info | message <string> | Prints an info message back to the terminal. |
countdown | 1-99 <number> | Counts down from the provided number every seconds and prints the value to the
terminal. |
freeform-demo | None | Prints out block of text that demostrates the ability to mix styles. |
input-demo | None | Demonstrates the ability to request additional user input while processing a
command. |
split-demo | Run command for argument list. | Demonstrates the ability to split the terminal vertically. The vertical view can be
used to display additional information to the user. |