examples/readme/arg in cl-0.1.28 vs examples/readme/arg in cl-1.0.0
- old
+ new
@@ -5,12 +5,14 @@
class Add < Cl::Cmd
arg :owner
def run
- p owner
+ p owner: owner
end
end
Cl.new('owners').run(%w(add one))
-# => "one"
+# Output:
+#
+# {:owner=>"one"}