Method: CheckList::Start#set_options
- Defined in:
- lib/check_list.rb
#set_options ⇒ Object
rubocop: disable Layout/HeredocIndentation rubocop: disable Naming/HeredocDelimiterNaming
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/check_list.rb', line 27 def Optimist. do version "check-list #{CheckList::Config.version} (c) 2022 Kyle Swaffield" <<~EOS Check-List Usage: check-list [options] <list name> | <reference name> where [options] are: EOS opt :list, 'checklist name', :type => :string # flag --list, default false opt :ref, 'Reference', :type => :string # flag --ref, default false opt :view, 'View browser list' opt :update, 'Update list' end end |