skip_option_parsing.rb

lib/rodish/plugins/skip_option_parsing.rb
Last Update: 2025-03-13 17:01:44 -0700

The skip_option_parsing plugin allows skipping option parsing for a command, treating all elements of argv as arguments instead of options. This is different than the default behavior, where all options use will fail by default (as no options are supported by default.

After loading the plugin, when configuring the command, you can call skip_options_parsing with the usage banner:

skip_options_parsing("usage banner")