mirror of
https://github.com/HeyPuter/puter.git
synced 2026-07-18 21:17:10 +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