mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
fa81dca950
A command can optionally define a `completer(args)` function. It takes an array of strings for the current arguments, and returns an array of completion results for the last argument. Includes a few completers: - alarm:info/clear/inspect completes the first argument as an alarm id or short_id - script:run completes the first argument as a script name - params:get/set completes the first argument as a parameter name |
||
---|---|---|
.. | ||
doc | ||
src | ||
tools | ||
.gitignore | ||
exports.js | ||
package.json | ||
README.md |