examples/readme/negate in cl-1.2.2 vs examples/readme/negate in cl-1.2.3
- old
+ new
@@ -2,9 +2,11 @@
$: << File.expand_path('lib')
require 'cl'
class Add < Cl::Cmd
+ register :add
+
opt '--notifications', 'Send out notifications to the team', negate: %w(skip)
def run
p notifications?
end