29 30 31 32 33 34 35 36 37
# File 'lib/lbrt/cli/space.rb', line 29 def export(file = nil) dsl = client(Lbrt::Space).export if file.nil? or file == '-' puts dsl else open(file, 'wb') {|f| f.puts dsl } end end