OpenCLI Integration
From version 0.52.0
and above, you will be able to generate OpenCLI
descriptions from your Spectre.Console.Cli
applications.
Simply add the --help-dump-opencli
option to your application, and an
OpenCLI description will be written to stdout.
$ ./myapp --help-dump-opencli
If you want to save it to disk, pipe it to a file.
$ ./myapp --help-dump-opencli > myapp.openapi.json