lib/heirloom/cli/list.rb in heirloom-0.4.0 vs lib/heirloom/cli/list.rb in heirloom-0.4.1rc1
- old
+ new
@@ -12,9 +12,11 @@
exit 1 unless valid_options? :provided => @opts,
:required => [:name],
:logger => @logger
+ ensure_domain_exists :name => @opts[:name], :config => @config
+
@archive = Archive.new :name => @opts[:name],
:config => @config
end
def list(count = @opts[:count])