def self.takes_membership_container(opts={})
if opts && opts[:argument]
if opts && opts[:writable]
argument :namespace, "Name of a domain", ["-n", "--namespace NAME"], :allow_nil => true, :default => :from_local_git
else
argument :target, "The name of a domain, or an application name with domain (domain or domain/application)", ["--target NAME_OR_PATH"], :allow_nil => true, :covered_by => [:application_id, :namespace, :app]
end
end
option ["-n", "--namespace NAME"], "Name of a domain"
option ["-a", "--app NAME"], "Name of an application" unless opts && opts[:writable]
option ["-t", "--team-name NAME"], "Name of a team"
option ["--team-id ID"], "ID of a team"
end