Sha256: fa2ff0646a635f4a1e2365cc2d6b1b722c8502ca5f5bb87a572e76dfde241e8f
Contents?: true
Size: 456 Bytes
Versions: 5
Compression:
Stored size: 456 Bytes
Contents
require "jdc/cli/space/base" =begin module JDC::Space class Switch < Base desc "Switch to a space" group :spaces input :name, :desc => "Space name", :argument => true def switch_space space = client.space_by_name(input[:name]) if space invoke :target, :space => space else raise JDC::UserError, "The space #{input[:name]} does not exist, please create the space first." end end end end =end
Version data entries
5 entries across 5 versions & 1 rubygems