Skip to content

YASL CLI

yasl

YASL - YAML Advanced Schema Language CLI Tool

Usage:

yasl [-h] [--version] [--quiet] [--verbose] [--output {text,json,yaml}]
            {check,schema} ...

Options:

  • --version — Show version information and exit
  • --quiet — Suppress output except for errors
  • --verbose — Enable verbose output
  • --output — Set output format (text, json, yaml). Default is text. (default: "text")

Arguments:

  • command — Available commands

yasl check

Usage:

yasl check [-h] [--model MODEL_NAME] paths [paths ...]

Options:

  • --model — Specific YASL schema type name to validate data against (optional)

Arguments:

  • paths — List of files or directories containing schemas and data

yasl schema

Usage:

yasl schema [-h] schema

Arguments:

  • schema — YASL schema file or directory