redhat-developer / redhat-developer/yaml-language-server
Command Line API/Option
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 352
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 11
Description
Summary
Relevant information
@JPinkney @joshuawilson does this tool have an option or script to consume and validate a *.yaml against a json schema on the command line? For example
$ yaml-language-server /path/to/file.yaml /path/to/schema.json
some output indicating whether file.yaml is valid based on schema.json
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the yaml-language-server command-line entry point, if present, and how it could accept the example YAML file and JSON Schema paths. Define the expected validation result and command output for valid and invalid files, then add coverage for the proposed command-line behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100