Class: Wordmove::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/wordmove/cli.rb

Instance Method Summary collapse

Instance Method Details

#initObject


10
11
12
# File 'lib/wordmove/cli.rb', line 10

def init
  Wordmove::Generators::Movefile.start
end

#pullObject


21
22
23
24
# File 'lib/wordmove/cli.rb', line 21

def pull
  deployer = Wordmove::Deployer.new(options)
  deployer.pull
end

#pushObject


33
34
35
36
# File 'lib/wordmove/cli.rb', line 33

def push
  deployer = Wordmove::Deployer.new(options)
  deployer.push
end