Clustericious::Command::configure - Generate a default configuration.
version 1.16
Your app:
package YourApp; use Mojo::Base qw( Clustericious::App ); sub generate_config { my ($self, @args) = @_; return { dirs => [ ['etc'], ['var', 'run' ] ], files => { 'YourApp.conf' => <<<CUT } --- required_key : default_value something_else : <%= home %> CUT }; } 1;
Create a default configuration for an app.
Clustericious
Original author: Brian Duggan
Current maintainer: Graham Ollis <plicease@cpan.org>
Contributors:
Curt Tilmes
This software is copyright (c) 2013 by NASA GSFC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Clustericious, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Clustericious
CPAN shell
perl -MCPAN -e shell install Clustericious
For more information on module installation, please visit the detailed CPAN module installation guide.