Skip to content

Add --json-help argument #2508

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Add --json-help argument #2508

wants to merge 1 commit into from

Conversation

natebosch
Copy link
Member

Add a hidden --json-help argument which writes the usage information
in JSON Schema format.

Add a hidden `--json-help` argument which writes the usage information
in JSON Schema format.
Copy link

PR Health

Changelog Entry
Package Changed Files
package:test_core pkgs/test_core/lib/src/executable.dart
pkgs/test_core/lib/src/runner/configuration.dart
pkgs/test_core/lib/src/runner/configuration/args.dart
pkgs/test_core/pubspec.yaml

Changes to files need to be accounted for in their respective changelogs.

This check can be disabled by tagging the PR with skip-changelog-check.

@natebosch
Copy link
Member Author

This is using an unpublished feature in package:args.

dart-lang/core#897

@natebosch
Copy link
Member Author

Opening this PR to have the code in a shared place. Not sure if this is going to be worth landing (or when) but this branch can be used to generate the schema.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant