Hyoki::CLI::Config
Inherits Struct < Value < Object
Constructors
new(report_type : Document::ReportType, report_format : Document::ReportFormat, highlight : Highlight, excerpt_context_length : Int32 | Tuple(Int32, Int32), sort_order : Document::SortOrder, exclude_ascii_only_items : Bool, pager : String | Nil, mecab_dict_dir : String | Nil, show_help : Bool, show_version : Bool)
SourceInstance methods
clone
Sourcecopy_with(report_type _report_type = @report_type, report_format _report_format = @report_format, highlight _highlight = @highlight, excerpt_context_length _excerpt_context_length = @excerpt_context_length, sort_order _sort_order = @sort_order, exclude_ascii_only_items _exclude_ascii_only_items = @exclude_ascii_only_items, pager _pager = @pager, mecab_dict_dir _mecab_dict_dir = @mecab_dict_dir, show_help _show_help = @show_help, show_version _show_version = @show_version)
Sourceexcerpt_context_length
excerpt_context_length=(excerpt_context_length : Int32 | Tuple(Int32, Int32))
Sourceexclude_ascii_only_items
exclude_ascii_only_items=(exclude_ascii_only_items : Bool)
Sourcehighlight
highlight=(highlight : Hyoki::CLI::Highlight)
Sourcemecab_dict_dir
mecab_dict_dir=(mecab_dict_dir : Nil | String)
Sourcepager
pager=(pager : Nil | String)
Sourcereport_format
report_format=(report_format : Hyoki::Document::ReportFormat)
Sourcereport_type
report_type=(report_type : Hyoki::Document::ReportType)
Sourceshow_help
show_help=(show_help : Bool)
Sourceshow_version
show_version=(show_version : Bool)
Sourcesort_order
sort_order=(sort_order : Hyoki::Document::SortOrder)
Source