NAME

Ixchel::Actions::sneck_config - Generates the config for the Sneck.

VERSION

Version 0.1.0

CLI SYNOPSIS

ixchel -a sneck_config [-w] [-o <file>]

CODE SYNOPSIS

my $results=$ixchel->action(action=>'sneck_config', opts=>{w=>1});

if ($results->{ok}) {
    print $results->{filled_in};
}else{
    die('Action errored... '.joined("\n", @{$results->{errors}}));
}

DESCRIPTION

The template used is 'sneck'.

The returned value is the filed in template.

FLAGS

-w

Write out the file instead of stdout.

-o <file>

File to write the out to if -w is specified.

Default :: /usr/local/etc/sneck.conf

--np

Don't print the the filled in template.

RESULT HASH REF

.errors :: A array of errors encountered.
.status_text :: A string description of what was done and the results.
.ok :: Set to zero if any of the above errored.
.filled_in :: The filled in template.