Skip to content

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