Class: Bookbinder::Commands::PushToProd
Class Method Summary
collapse
Instance Method Summary
collapse
Methods included from Naming
command_name
#initialize
Class Method Details
.usage ⇒ Object
10
11
12
|
# File 'lib/bookbinder/commands/push_to_prod.rb', line 10
def self.usage
"push_to_prod [build_#] \t \t \t Push latest or <build_#> from your S3 bucket to the production host specified in credentials.yml"
end
|
Instance Method Details
#run(arguments) ⇒ Object
14
15
16
17
|
# File 'lib/bookbinder/commands/push_to_prod.rb', line 14
def run(arguments)
Distributor.build(@logger, options(arguments)).distribute
0
end
|