What -completion=lua does?

The documentation doesn’t give any detail nor example usage, so, how can I take advantage of it?
:h :command-completion