make main changelord an alias for 'print'

This commit is contained in:
Yanick Champoux 2022-07-25 11:27:16 -04:00
parent ae29ae0ebf
commit dcc2f7192c
2 changed files with 12 additions and 8 deletions

View File

@ -7,11 +7,9 @@ releases:
changes:
- Initial release
change_types:
- feat:
level: minor
- level: minor
title: Features
keywords: []
- fix:
level: patch
keywords: [ feat ]
- level: patch
title: Bug fixes
keywords: []
keywords: [ fix ]

View File

@ -15,6 +15,12 @@ use List::AllUtils qw/ pairmap partition_by /;
use App::Changelord::Role::ChangeTypes;
sub run($self) {
App::Changelord::Command::Print->new(
parent_command => $self,
)->run;
}
subcommand $_ => 'App::Changelord::Command::' . ucfirst $_ =~ s/-(.)/uc $1/er
for qw/ schema validate version bump init add git-gather print /;