Skip to content

Conversation

@patriksvensson
Copy link
Contributor

  • I have read the Contribution Guidelines
  • A maintainer has signed off on the changes and the issue was assigned to me
  • All newly added code is adequately covered by tests
  • All existing tests are still running without errors
  • The documentation was modified to reflect the changes OR no documentation changes are required.

Changes

Added OpenCLI integration to Spectre.Console.Cli

Usage

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

Please upvote 👍 this pull request if you are interested in it.

@patriksvensson patriksvensson merged commit b551bbd into spectreconsole:main Oct 2, 2025
3 checks passed
@patriksvensson patriksvensson deleted the feature/open-cli branch October 2, 2025 00:05
@FrediKats
Copy link

Thx, @patriksvensson <3

Waiting for release with this new feature.

@patriksvensson
Copy link
Contributor Author

Will try making a new release today (probably tonight)

This was referenced Oct 10, 2025
This was referenced Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants