From ec4fee9e69cf112a7783a0aab878f257244a0855 Mon Sep 17 00:00:00 2001 From: Yanick Champoux Date: Mon, 25 Jul 2022 11:58:17 -0400 Subject: [PATCH] docs for ::Schema --- lib/App/Changelord/Command/Schema.pm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/App/Changelord/Command/Schema.pm b/lib/App/Changelord/Command/Schema.pm index dd65e3b..a32ccb5 100644 --- a/lib/App/Changelord/Command/Schema.pm +++ b/lib/App/Changelord/Command/Schema.pm @@ -4,7 +4,14 @@ package App::Changelord::Command::Schema; use 5.36.0; 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 JSON;