---
name: "MooseX::App::Meta::Role::Class::Documentation"
section: "3pm"
platform: "linux"
package: "libmoosex-app-perl"
version: "1.43-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/MooseX::App::Meta::Role::Class::Documentation"
---

# MooseX::App::Meta::Role::Class::Documentation(3pm)

Meta class role for command classes

## NAME

MooseX::App::Meta::Role::Class::Documentation - Meta class role for command classes

## DESCRIPTION

This meta class role will automatically be applied to all command classes. This documentation is only of interest if you intend to write plugins for MooseX::App.

## ACCESSORS

### command\_short\_description

Read/set the short command description. Will be extracted from the Pod NAME or ABSTRACT section if not set. Alternative this will be taken from the DistZilla ABSTRACT tag.

### command\_long\_description

Read/set the long command description. Will be extracted from the Pod DESCRIPTION or OVERVIEW section if not set.

### command\_usage

Read/set the long command usage. Will be extracted from the Pod SYNOPSIS or USAGE section if not set. If these Pod sections are not defined the usage will be autogenerated.

### command\_short\_description\_predicate

Checks if command\_short\_description is available

### command\_long\_description\_predicate

Checks if command\_long\_description is available

### command\_usage\_predicate

Checks if command\_usage is available

### command\_strict

Read/set the strict command flag. If strict is enabled the command will terminate with an error message if superfluous/unknown positional parameters are supplied. If disabled all extra parameters will be copied to the extra\_argv attribute.

The app\_strict function in the app classes allows one to set this option globally.

## METHODS

### \_build\_command\_pod

Parses the Pod from the command class.
