App::Sqitch::Command::init3pm
Initialize a sqitch project
Usage
my $cmd = App::Sqitch::Command::init->new(%params);$cmd->execute;
Overview
This command creates the files and directories for a new Sqitch project - basically a sqitch.conf file and directories for deploy and revert scripts.
Interface
Class Methods
"options"
my @opts = App::Sqitch::Command::init->options;
Returns a list of Getopt::Long option specifications for the command-line options for the "config" command.
"extra_target_keys"
Returns a list of additional option keys to be specified via options.
Attributes
"uri"
URI for the project.
"properties"
Hash of property values to set.
Instance Methods
"execute"
$init->execute($project);
Executes the "init" command.
"write_config"
$init->write_config;
Writes out the configuration file. Called by execute().
Releases
6 releases since Debian 8 (Jessie); the text changed 5 times.