NAME
RTDevSys::Cmd::Roles::Standard - A role containing common attributes used in all RTDevSys commands.
EARLY VERSION WARNING
This is a very early version of RTDevSys. It is ready for use, and in fact is being used. However there may be some API changes in the future. As well there may be some missing, incomplete, or untested features. At the moment the database commands only support postgres not mysql.
DESCRIPTION
This role contains common attributes recognised by RTDevSys. This role should be done by all the commands available to RTDevSys. When a command is run all these attributes will be set if specified. When one of these attributes is set it triggers the same attribute in the RTDevSys class to be set.
SYNOPSIS
package RTDevSys::Cmd::Command::mycommand;
use RTDevSys;
use Moose;
extends qw(MooseX::App::Cmd::Command);
# The part that matters
with 'RTDevSys::Cmd::Roles::Standard';
...
ATTRIBUTES
- build
-
$ rtdevsys --build stable $ rtdevsys --build demo $ rtdevsys --build devel
- rthome
-
RT Installation Path (RTHOME)
- password
-
Database password (RT_DB_PASSWORD)
- user
-
RT/DB User (RT_USER)
- group
-
RT Group (RT_GROUP)
- webuser
-
RT/DB User (RT_WEB_USER)
- webgroup
-
RT Group (RT_WEB_GROUP)
- versions_file
-
versions.yaml file to use
- dbuser
-
Database database user (RT_DB_USER)
- dbport
-
Database port number (RT_DB_PORT)
- dbhost
-
Database Host (RT_DB_HOST)
- dbname
-
Database name (RT_DB)
AUTHORS
Chad Granum <chad@opensourcery.com>
COPYRIGHT
Copyright 2009 OpenSourcery, LLC.
This file is part of RTDevSys
RTDevSys is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
RTDevSys is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with RTDevSys. If not, see <http://www.gnu.org/licenses/>.