|
Commands |
| ask |
Prompt the user for an answer and return it
|
| assertEqual |
Returns a passing (0) or failing (1) exit code if both parameters match
|
| assertFalse |
Returns a passing (0) or failing (1) exit code if a falsey parameter passed
|
| assertNotEqual |
Returns a passing (0) or failing (1) exit code if parameters do not match
|
| assertTrue |
Returns a passing (0) or failing (1) exit code if truthy parameter passed
|
| browse |
Open a browser to the passed URI
|
| cat |
Read any number of files and return their concatenated contents
|
| cd |
Change the current working directory of the shell
|
| cfml |
I am a shortcut to run single CFML functions via the REPL
|
| checksum |
Generate checksum for a file or a directory via a globbing pattern
|
| clear |
Clear any output on the terminal
|
| clipboard |
Stores text inputted into OS clipboard
|
| confirm |
Prompt the user for a yes/no
|
| cp |
Copy a file or directory
|
| delete |
Delete a file or directory from the filesystem
|
| dir |
List the files and folders in a directory
|
| echo |
Outputs the text entered
|
| edit |
Open a path in the native OS application in order to edit it
|
| execute |
Executes a CFML file and outputs whatever the template outputs using cfoutput or the buffer
|
| fileAppend |
Append to existing text in a file
|
| fileWrite |
Write a file, overwriting it if it exists
|
| forEach |
Execute a command against every item in an incoming list
|
| grep |
Search through string input and filter only matching lines
|
| head |
Show the first x lines of a file
|
| help |
Display CommandBox help
|
| history |
Display the history of all the commands that have been typed into the shell
|
| info |
Display basic information about the shell and some cool ASCII art
|
| jq |
JSON Query command for filtering data out of a JSON Object, file, or URL
|
| mkdir |
Create a new directory
|
| more |
Breaks long output up into lines or pages for easy reading
|
| mv |
Rename/move a file or directory to a new name and path
|
| pathExists |
Returns a passing (0) or failing (1) exit code whether the path exists
|
| pause |
This command waits for the user to press a key to continue
|
| printColumns |
Prints a list or array of information as columns
|
| printTable |
Prints an ASCII table to the console based on incoming JSON
|
| prompt |
Set prompt of the shell to your own string
|
| pwd |
Output the current working directory of the shell
|
| quit |
Exits out of the shell
|
| recipe |
The recipe commands allows you to execute a collection of CommandBox commands
|
| reload |
Reload CommandBox
|
| repl |
The REPL (Read-Eval-Print-Loop) command allows you to write and execute a-la-carte CFML code right in
|
| run |
Execute an operating system level command in the native shell
|
| sed |
Stream editor command for manipulating text one line at a time
|
| sort |
Sort a list of input lines
|
| sql |
SQL query command for filtering table like data
|
| system-colors |
Outputs the colors CommandBox is capable of printing
|
| system-log |
Outputs the path to the system log file
|
| tail |
Tail the end of a file from the filesystem
|
| tokenReplace |
Replace text tokens in one or more files
|
| touch |
Create a new file according to its name if it does not exist
|
| unansi |
Outputs the text entered but with ANSI formatting stripped
|
| unique |
Search through string input and filter duplicate lines
|
| upgrade |
Upgrades CommandBox to the latest stable version
|
| version |
Outputs CommandBox version currently installed
|
| watch |
Watch the files in a directory and run a custom command of your choice
|