usually the help output generated by a thor app lists the options for the class and the actions, and shows the default value if a default value is set.
But for
method_option :save, type: :boolean, desc: "save file" , default: false
the default value is printed only of it is true, not false. (Thor 1.2.1)
Hi,
usually the help output generated by a thor app lists the options for the class and the actions, and shows the default value if a default value is set.
But for method_option :save, type: :boolean, desc: "save file" , default: false
the default value is printed only of it is true, not false. (Thor 1.2.1)
regards