| Command |
Description |
| alias |
Alias a command (with optional flags) to a new name.
|
| break |
Break a loop. |
|
commandline
|
View or modify the current command line input buffer.
|
| const |
Create a parse-time constant.
|
| continue |
Continue a loop from the next iteration.
|
| def |
Define a custom command.
|
| def-env |
Define a custom command, which participates in the caller
environment.
|
| describe |
Describe the type and structure of the value(s) piped in.
|
| do |
Run a closure, providing it with the pipeline input.
|
| du |
Find disk usage sizes of specified items.
|
| echo |
Returns its arguments, ignoring the piped-in value.
|
|
error make
|
Create an error. |
| export |
Export definitions or environment variables from a module.
|
|
export alias
|
Alias a command (with optional flags) to a new name and
export it from a module.
|
|
export const
|
Use parse-time constant from a module and export them from
this module.
|
|
export def
|
Define a custom command and export it from a module.
|
|
export def-env
|
Define a custom command that participates in the environment
and export it from a module.
|
|
export extern
|
Define an extern and export it from a module.
|
|
export extern-wrapped
|
Define an extern with a custom code block and export it from
a module.
|
|
export module
|
Export a custom module from a module.
|
|
export use
|
Use definitions from a module and export them from this
module.
|
| extern |
Define a signature for an external command.
|
|
extern-wrapped
|
Define a signature for an external command with a custom
code block.
|
| for |
Loop over a range. |
| help |
Display help information about different parts of rsh.
|
|
help aliases
|
Show help on rsh aliases.
|
|
help commands
|
Show help on rsh commands.
|
|
help escapes
|
Show help on rsh string escapes.
|
|
help externs
|
Show help on rsh externs.
|
|
help modules
|
Show help on rsh modules.
|
|
help operators
|
Show help on rsh operators.
|
| hide |
Hide definitions in the current scope.
|
| hide-env |
Hide environment variables in the current scope.
|
| if |
Conditionally run a block.
|
| ignore |
Ignore the output of the previous command in the pipeline.
|
| is-admin |
Check if rsh is running with administrator or root
privileges.
|
| lazy make |
Create a lazy record. |
| let |
Create a variable and give it a value.
|
| loop |
Run a block in a loop. |
| match |
Conditionally run a block on a matched value.
|
| module |
Define a custom module. |
| mut |
Create a mutable variable and give it a value.
|
| overlay |
Commands for manipulating overlays.
|
|
overlay hide
|
Hide an active overlay. |
|
overlay list
|
List all active overlays.
|
|
overlay new
|
Create an empty overlay.
|
|
overlay use
|
Use definitions from a module as an overlay.
|
| register |
Register a plugin. |
| return |
Return early from a function.
|
| scope |
Commands for getting info about what is in scope.
|
|
scope aliases
|
Output info on the aliases in the current scope.
|
|
scope commands
|
Output info on the commands in the current scope.
|
|
scope engine-stats
|
Output stats on the engine in the current state.
|
|
scope externs
|
Output info on the known externals in the current scope.
|
|
scope modules
|
Output info on the modules in the current scope.
|
|
scope variables
|
Output info on the variables in the current scope.
|
| source |
Runs a script file in the current context.
|
|
source-env
|
Source the environment from a source file into the current
environment.
|
| try |
Try to run a block, if it fails optionally run a catch
block.
|
| use |
Use definitions from a module, making them available in your
shell.
|
| version |
Display Rsh version, and its build configuration.
|
| while |
Conditionally run a block in a loop.
|