Module: Instafavs
- Defined in:
- lib/instafavs.rb,
lib/instafavs/version.rb
Defined Under Namespace
Modules: Config
Constant Summary collapse
- CONFIG_FILENAME =
File.("~/.instafavs")
- VERSION =
"0.0.5"
Class Method Summary collapse
Class Method Details
.parse_cmd_line_options! ⇒ Object
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/instafavs.rb', line 49 def self. = {} OptionParser.new do |opts| opts. = "Usage: instafavs [options]" opts.on("-c", "--configure", "Configure Twitter and Instapaper account details") do |c| [:configure] = true end opts.on("-v", "--verbose", "Provide more detailed output of what instafavs is doing") do |c| [:verbose] = true end end.parse! end |