bin/doc in docktor-0.1.0 vs bin/doc in docktor-0.2.0
- old
+ new
@@ -4,6 +4,10 @@
Bundler.setup
require "docktor"
include Docktor
-Docktor::Runner.new.invoke
+begin
+ Docktor::Runner.new.invoke container_name: ARGV[0]
+rescue Docktor::Runner::ContainerNotFound => e
+ puts e.message
+end