Generate command-line completions using a simple DSL.