You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context: I'm working on a command that needs a boolean flag, we'll call it --list. If this flag is provided, I want to display a list of items. Otherwise, the list will not be displayed. Currently, if I add this option like so:
method_option :list, type: :boolean
Thor automatically creates a --no-list option, which I don't need and is confusing in the help output: