redhat-developer / redhat-developer/yaml-language-server

Command Line API/Option

Open
#535 3 comments 8 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.