- [ ] add a function that writes possible completions to `stdout` (or a file-descriptor?) - [ ] add a function that generates completion code to be sourced by a shell, similar to `npm completion`