Sha256: 38c5cbc5f38646fcb4a7ed2c6c568487f3bbc0a9571c441797455125ebb6893a
Contents?: true
Size: 304 Bytes
Versions: 5
Compression:
Stored size: 304 Bytes
Contents
desc 'Stop the specified servers' arg_name 'server-id...' command [:stop] do |c| c.action do |global_options,options,args| servers = Server.find(args).compact servers.each do |s| info "Stopping server #{s}" s.stop s.reload end render_table(servers) end end
Version data entries
5 entries across 5 versions & 1 rubygems