| 1 | # | ||
| 2 | # This file is part of App-Cme | ||
| 3 | # | ||
| 4 | # This software is Copyright (c) 2014-2022 by Dominique Dumont <ddumont@cpan.org>. | ||
| 5 | # | ||
| 6 | # This is free software, licensed under: | ||
| 7 | # | ||
| 8 | # The GNU Lesser General Public License, Version 2.1, February 1999 | ||
| 9 | # | ||
| 10 | # ABSTRACT: Generates pod doc from model files | ||
| 11 | |||
| 12 | package App::Cme::Command::gen_class_pod ; | ||
| 13 | 1 | $App::Cme::Command::gen_class_pod::VERSION = '1.049'; | |
| 14 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 1 | ▶ | use 5.10.1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | |||
| 18 | 1 | ▶ | use App::Cme -command ; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 1 | ▶ | use Config::Model::Utils::GenClassPod; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | |||
| 21 | 30 | ▶ | sub command_names { |
|
Subroutine
command_names: called CC=1 SCAR=0.0
Pod
documented
| |||
| 22 | 30 | my $self = shift ; | |
| 23 | 30 | return ( 'gen-class-pod' , $self->SUPER::command_names ); | |
| 24 | } | ||
| 25 | |||
| 26 | 0 | ▶ | sub description { |
|
Subroutine
description: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 27 | return << "EOD" | ||
| 28 | Generate pod documentation from configuration models found in ./lib directory | ||
| 29 | EOD | ||
| 30 | |||
| 31 | 0 | } | |
| 32 | |||
| 33 | 0 | ▶ | sub execute { |
|
Subroutine
execute: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 34 | 0 | my ($self, $opt, $args) = @_; | |
| 35 | 0 | gen_class_pod(@$args); | |
| 36 | 0 | return; | |
| 37 | } | ||
| 38 | |||
| 39 | 1 | 1; | |
| 40 | |||
| 41 | __END__ | ||