Class: Remocon::CLI

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

Instance Method Summary collapse

Instance Method Details

#createObject



17
18
19
# File 'lib/remocon/cli.rb', line 17

def create
  execute(Remocon::Command::Create)
end

#pullObject



40
41
42
# File 'lib/remocon/cli.rb', line 40

def pull
  execute(Remocon::Command::Pull)
end

#pushObject



31
32
33
# File 'lib/remocon/cli.rb', line 31

def push
  execute(Remocon::Command::Push)
end

#tokenObject



7
8
9
# File 'lib/remocon/cli.rb', line 7

def token
  execute(Remocon::Command::GetToken)
end

#validateObject



50
51
52
# File 'lib/remocon/cli.rb', line 50

def validate
  execute(Remocon::Command::Validate)
end