exe/dexter in pgdexter-0.3.5 vs exe/dexter in pgdexter-0.3.6
- old
+ new
@@ -1,10 +1,11 @@
#!/usr/bin/env ruby
+# disable Slop warning with Ruby 2.7
+# TODO remove when Slop > 4.8.0 is released
+$VERBOSE = nil
+
+# handle interrupts
+trap("SIGINT") { abort }
+
require "dexter"
-begin
- Dexter::Client.new(ARGV).perform
-rescue Dexter::Abort => e
- abort e.message
-rescue Interrupt => e
- # do nothing
-end
+Dexter::Client.start