Class: Bookbinder::Commands::PushLocalToStaging

Inherits:
BookbinderCommand show all
Extended by:
Naming
Defined in:
lib/bookbinder/commands/push_local_to_staging.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Naming

command_name

Methods inherited from BookbinderCommand

#initialize

Constructor Details

This class inherits a constructor from Bookbinder::Commands::BookbinderCommand

Class Method Details

.usageObject



10
11
12
# File 'lib/bookbinder/commands/push_local_to_staging.rb', line 10

def self.usage
  "push_local_to_staging \t \t  \t Push the contents of final_app to the staging host specified in credentials.yml"
end

Instance Method Details

#run(_) ⇒ Object



14
15
16
17
# File 'lib/bookbinder/commands/push_local_to_staging.rb', line 14

def run(_)
  Distributor.build(@logger, options).distribute
  0
end