Sha256: ff6b80bb2ae38300a9375166457961908e00c8bb32b2e2f5ca944c607be2c5e9
Contents?: true
Size: 384 Bytes
Versions: 7
Compression:
Stored size: 384 Bytes
Contents
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
Version data entries
7 entries across 7 versions & 1 rubygems