exe/dockerun in dockerun-0.2.3 vs exe/dockerun in dockerun-0.3.0

- old
+ new

@@ -78,9 +78,20 @@ runCmd.parse(argv).run rescue TTY::Reader::InputInterrupt pmt.say "\n\n Aborted\n", color: :yellow end + when "stop", "s" + + begin + runCmd = Dockerun::Command::StopContainer.new + argv = ARGV[1..-1] + runCmd.parse(argv).run + rescue TTY::Reader::InputInterrupt + end + + + when "rmi", "remove-image" begin riCmd = Dockerun::Command::ResetImage.new argv = ARGV[1..-1]