docs for ::Schema

This commit is contained in:
Yanick Champoux 2022-07-25 11:58:17 -04:00
parent 3b4c019dcc
commit ec4fee9e69

View File

@ -4,7 +4,14 @@ package App::Changelord::Command::Schema;
use 5.36.0; use 5.36.0;
use Moo; use Moo;
use CLI::Osprey; use CLI::Osprey
doc => 'print JSON schema for the changelog format',
description_pod => <<'END';
Print the JSON schema describing the data format used by changelord.
By defaults prints the schema in YAML. Can also be printed as JSON
via the C<--json> option.
END
use Path::Tiny; use Path::Tiny;
use JSON; use JSON;