Sha256: 690b81b73209460e84dd010cd9b23e958f987f4d296d77c651cb863a4d7883df
Contents?: true
Size: 380 Bytes
Versions: 7
Compression:
Stored size: 380 Bytes
Contents
desc 'List servers' arg_name '[server-id...]' command [:list] do |c| c.action do |global_options,options,args| Type.cache_all! Zone.cache_all! if args.empty? servers = Server.find(:all) else servers = Server.find_or_call(args) do |id| warn "Couldn't find server #{id}" end end render_table(servers, global_options) end end
Version data entries
7 entries across 7 versions & 1 rubygems