Mike Bissett > DBIx-Changeset-1.11 > DBIx::Changeset::App

Download:
DBIx-Changeset-1.11.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.11   Source  

NAME ^

DBIx::Changeset::App - Main App File to the command line app

SYNOPSIS ^

Main App File to the command line app

create a script like so:

        #!/usr/bin/env perl
        use DBIx::Changeset::App;

        my $cmd = DBIx::Changeset::App->new();
        $cmd->config('config.yml');
        $cmd->run;

METHODS ^

config

Load Given YAML files as config expects a YAML File with following format

globaloption: <value> command: commandoption: <value>

default_plugin

 Called by App::Cmd to set the default command when none is given this should automatically be 
 'help' with documented default_command method but doest work so must be a bug in App::Cmd..

COPYRIGHT & LICENSE ^

Copyright 2004-2008 Grox Pty Ltd.

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

The full text of the license can be found in the LICENSE file included with this module.

syntax highlighting: