NAME
Clustericious::Command::configure - Generate a default configuration.
VERSION
version 0.9937
SYNOPSIS
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 : <%= $ENV{HOME} %>
CUT
};
}
1;
DESCRIPTION
Create a default configuration for an app.
SUPER CLASS
SEE ALSO
AUTHOR
original author: Brian Duggan
current maintainer: Graham Ollis <plicease@cpan.org>
contributors:
Curt Tilmes
COPYRIGHT AND LICENSE
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.