Sha256: 794a455293395f33a92f26e02a1fcf3fd1729fc6fba26223ca0d05fcdabd4837
Contents?: true
Size: 429 Bytes
Versions: 14
Compression:
Stored size: 429 Bytes
Contents
module Brightbox desc 'Start the specified servers' arg_name 'server-id...' command [:start] do |c| c.action do |global_options,options,args| raise "You must specify servers to start" if args.empty? servers = Server.find_or_call(args) do |id| raise "Couldn't find server #{id}" end servers.each do |s| info "Starting server #{s}" s.start end end end end
Version data entries
14 entries across 14 versions & 1 rubygems