diff --git a/versions/doc-improvements/docs/api/commander/index.html b/versions/doc-improvements/docs/api/commander/index.html index ae0ab56..89a2684 100644 --- a/versions/doc-improvements/docs/api/commander/index.html +++ b/versions/doc-improvements/docs/api/commander/index.html @@ -15,7 +15,7 @@ that works with Hilbish for writing commands. Example:
Hello world!
to output. One question you may
have is: What is the sinks
parameter?The sinks
parameter is a table with 3 keys: in
, out
,
and err
. The values of these is a Sink.
in
is the standard input. You can read from this sink
-to get user input. (This is currently unimplemented.)out
is standard output. This is usually where text meant for
+to get user input.out
is standard output. This is usually where text meant for
output should go.err
is standard error. This sink is for writing errors, as the
name would suggest.deregister(name) | Deregisters any command registered with name |
register(name, cb) | Register a command with name that runs cb when ran |