Ubuntu Manpages

MooX::Cmd::Role::ConfigFromFile

MooX::ConfigFromFile support role for MooX::Cmd

version 1.000

Extends MooX::ConfigFromFile::Role config prefix support to include the current command chain. Each command name in the chain is appended to the config prefixes, allowing per-command configuration file sections.

Enable via MooX::Cmd:

  package MyApp;
  use Moo;
  use MooX::Cmd with_config_from_file => 1;

This will automatically compose both MooX::ConfigFromFile::Role and this role into your command classes.

MooX::ConfigFromFile

Please report bugs and feature requests on GitHub at <https://github.com/Getty/p5-moox-cmd/issues>.

Join "#web-simple" on "irc.perl.org" or message Getty directly.

Contributions are welcome! Please fork the repository and submit a pull request.

Torsten Raudssus <torsten@raudssus.de>

This software is copyright (c) 2026 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.