Top Level Namespace
Defined Under Namespace
Modules: BooleanTermParser, Doing, GLI, PhraseParser, Status Classes: Array, FalseClass, Hash, Numeric, Object, String, Symbol, Time, TrueClass
Instance Method Summary collapse
-
#add_options(type, cmd, default_template: 'default') ⇒ Object
Add presets of flags and switches to a command.
Instance Method Details
#add_options(type, cmd, default_template: 'default') ⇒ Object
Add presets of flags and switches to a command.
:output_template => --output, --config_template, --template
:add_entry => --noauto, --note, --ask, --editor, --back
:finish_entry => --at/finished, --from, --took
:time_display => --times, --duration, --totals, --tag_sort, --tag_order, --only_timed
:search => --search, --case, --exact
:tag_filter => --tag, --bool, --not, --val
:time_filter => --before, --after, --from
:date_filter => --before, --after, --from
:save => --save