App::Sqitch::Command::revert3pm
Revert sqitch changes from a database
Usage
my $cmd = App::Sqitch::Command::revert->new(%params);$cmd->execute;
Overview
If you want to know how to use the "revert" command, you probably want to be reading "sqitch-revert". But if you really want to know how the "revert" command works, read on.
Interface
Class Methods
"options"
my @opts = App::Sqitch::Command::revert->options;
Returns a list of Getopt::Long option specifications for the command-line options for the "revert" command.
Attributes
"log_only"
Boolean indicating whether to log the deploy without running the scripts.
"lock_timeout"
The number of seconds to wait for an exclusive advisory lock on the target, for engines that support the feature.
"modified"
Boolean to revert to the change prior to earliest change with a revised deploy script.
"no_prompt"
Boolean indicating whether or not to prompt the user to really go through with the revert.
"prompt_accept"
Boolean value to indicate whether or not the default value for the prompt, should the user hit "return", is to accept the prompt or deny it.
"strict"
Boolean to indicate whether or not a change to revert to is required.
"target"
The deployment target URI.
"to_change"
Change to revert to.
Instance Methods
"execute"
$revert->execute;
Executes the revert command.
Releases
6 releases since Debian 8 (Jessie); the text changed 5 times.