examples/_src/args/required.erb.rb in cl-1.2.2 vs examples/_src/args/required.erb.rb in cl-1.2.3
- old
+ new
@@ -3,9 +3,11 @@
<%= run sq(<<-'rb')
require 'cl'
class Required < Cl::Cmd
+ register :required
+
arg :one, required: true
arg :two
def run
p cmd: registry_key, one: one, two: two