Top Level Namespace

Defined Under Namespace

Modules: BooleanTermParser, Doing, GLI, PhraseParser, Status Classes: Array, FalseClass, Hash, Object, String, Symbol, Time, TrueClass

Instance Method Summary collapse

Instance Method Details

#add_options(type, cmd) ⇒ Object

Add presets of flags and switches to a command.

:add_entry => --noauto, --note, --ask, --editor, --back

:search => --search, --case, --exact

:tag_filter => --tag, --bool, --not, --val

:date_filter => --before, --after, --from

Parameters:

  • type (Symbol)

    The type

  • cmd

    The GLI command to which the options will be added