Config-Model-Itself
view release on metacpan or search on metacpan
lib/App/Cme/Command/meta.pm view on Meta::CPAN
my ( $class, $app ) = @_;
return (
[
"dir=s" => "directory where to read and write a model",
{default => 'lib/Config/Model'}
],
[
"dumptype=s" => "dump every values (full), only preset values "
. "or only customized values (default)",
{callbacks => { 'expected values' => sub { $_[0] =~ m/^full|preset|custom$/ ; }}}
],
[ "dev!" => 'use model in ./lib to create a plugin'],
[ "open-item=s" => "force the UI to open the specified node"],
[ "plugin-file=s" => "create a model plugin in this file" ],
[ "load-yaml=s" => "load model from YAML file" ],
[ "load=s" => "load model from cds file (Config::Model serialisation file)"],
[ "system!" => "read model from system files" ],
[ "test-and-quit=s" => "Used for tests" ],
$class->cme_global_options()
);
( run in 0.856 second using v1.01-cache-2.11-cpan-9b1e4054eb1 )