Class: NeetoDeploy::CLI::Redis::Commands

Inherits:
Thor
  • Object
show all
Defined in:
lib/neeto_deploy/cli/redis/commands.rb

Instance Method Summary collapse

Instance Method Details

#cliObject



37
38
39
# File 'lib/neeto_deploy/cli/redis/commands.rb', line 37

def cli
  Console.new(options[:addon]).process!
end

#getObject



25
26
27
# File 'lib/neeto_deploy/cli/redis/commands.rb', line 25

def get
  Get.new(options).run
end

#reset_statsObject



31
32
33
# File 'lib/neeto_deploy/cli/redis/commands.rb', line 31

def reset_stats
  ResetStats.new(options).run
end

#setObject



18
19
20
# File 'lib/neeto_deploy/cli/redis/commands.rb', line 18

def set
  Set.new(options).run
end