2022-02-25 22:00:39 +00:00
|
|
|
--- @meta
|
|
|
|
|
|
|
|
local commander = {}
|
|
|
|
|
2023-12-01 02:19:13 +00:00
|
|
|
--- Removes the named command. Note that this will only remove Commander-registered commands.
|
2022-02-25 22:15:49 +00:00
|
|
|
function commander.deregister(name) end
|
2022-02-25 22:00:39 +00:00
|
|
|
|
2023-12-01 02:19:13 +00:00
|
|
|
--- Adds a new command with the given `name`. When Hilbish has to run a command with a name,
|
|
|
|
--- it will run the function providing the arguments and sinks.
|
|
|
|
---
|
|
|
|
---
|
2022-02-25 22:15:49 +00:00
|
|
|
function commander.register(name, cb) end
|
2022-02-25 22:00:39 +00:00
|
|
|
|
|
|
|
return commander
|