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



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

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



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

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

#versionObject



56
57
58
# File 'lib/remocon/cli.rb', line 56

def version
  puts Remocon::VERSION
end