class Bkmrq::Manual

Package Manual

Constants

Public Class Methods

options_specs() click to toggle source
# File lib/bkmrq/manual.rb, line 15
def self.options_specs
  [
    browser_opt_specs,
    input_file_opt_specs,
    output_file_opt_specs,
    edit_opt_specs
  ]
end

Private Class Methods

browser_opt_specs() click to toggle source
# File lib/bkmrq/manual.rb, line 24
def self.browser_opt_specs
  [
    '-B BROWSER',
    '--browser BROWSER',
    String,
    'Browser (Loads Default Configs)',
    :browser
  ]
end
edit_opt_specs() click to toggle source
# File lib/bkmrq/manual.rb, line 54
def self.edit_opt_specs
  [
    '-E',
    '--edit',
    'Load Generated Markdown in $EDITOR (will not persist generated output)',
    :edit
  ]
end
input_file_opt_specs() click to toggle source
# File lib/bkmrq/manual.rb, line 34
def self.input_file_opt_specs
  [
    '-F FILE',
    '--input-file FILE',
    String,
    'Bookmarks file generated by your browser. (JSON FORMAT ONLY)',
    :input_file
  ]
end
output_file_opt_specs() click to toggle source
# File lib/bkmrq/manual.rb, line 44
def self.output_file_opt_specs
  [
    '-O FILE',
    '--output-file FILE',
    String,
    'Filepath for markdown generated by Bkmrq',
    :output_path
  ]
end