Skip to content

Usage is lost if a command uses Moose #36

@schwern

Description

@schwern

If a command class uses Moose (or Mouse) the "Usage" output will be lost. Even with "no Moose".

$ perl -Ilib bin/test foo
Error: This will never work
Usage:  at /Users/schwern/perl5/perlbrew/perls/perl-5.18.1-thread/lib/site_perl/5.18.1/App/Cmd/Command.pm line 90.

See https://gist.github.com/schwern/10081851 for test code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions