examples/_src/readme/alias.erb.rb in cl-1.2.2 vs examples/_src/readme/alias.erb.rb in cl-1.2.3
- old
+ new
@@ -3,9 +3,11 @@
<%= run sq(<<-'rb')
require 'cl'
class Add < Cl::Cmd
+ register :add
+
opt '--to GROUP', alias: :group
def run
# p opts: opts, to: to, to?: to?, group: group, group?: group?
p opts: opts, to: to, to?: to?