Can libreoffice provide a shell completion?

Wu Zhenyu wuzy01 at qq.com
Tue May 24 13:56:47 UTC 2022


Hello, everyone.

Can libreoffice provide a shell completion (e.g., bash/zsh/fish/posh/etc)? I usually use libreoffice's command line, e.g.,
`soffice --convert-to pdf *.docx`, so, if libreoffice has a shell completion, it will be more convenient.

If it can be provided, how does it be provided? It will be generated by code, like [github-cli](https://github.com/cli/cli/blob/cf4b73ff958b272cf3c9c0cf9351459f76b793a0/pkg/cmd/completion/completion.go)? Or be written separately from code, like [exa](https://github.com/ogham/exa/tree/master/completions)?

Thanks!

-- 
Best Regards
Wu Zhenyu


More information about the LibreOffice mailing list