Class: SwarmClusterCliOpe::Commands::Swarm

Inherits:
Base
  • Object
show all
Defined in:
lib/swarm_cluster_cli_ope/commands/swarm.rb

Instance Attribute Summary

Attributes inherited from Base

#base_suffix_command, #docker_host

Instance Method Summary collapse

Methods inherited from Base

#command, #docker_inspect, #initialize, object_identifier

Methods included from LoggerConcern

#logger

Constructor Details

This class inherits a constructor from SwarmClusterCliOpe::Commands::Base

Instance Method Details

#lsSwarmClusterCliOpe::ShellCommandResponse



6
7
8
9
10
# File 'lib/swarm_cluster_cli_ope/commands/swarm.rb', line 6

def ls
  command do |cmd|
    cmd.add("stack ls")
  end.execute
end