description property
A description of this command, included in usage.
Implementation
@override
final description = "search with regexp or replace. \n\n"
"e.g. search CWD, yaml files, with vesion: 1.0.0, use literal pattern \n"
" ft search . --pattern='**.yaml' --regexp='version: 1.0.0' \n\n"
"e.g. search CWD, yaml files, with vesion: 1.0.\\d+, use regex pattern, enable escape \n"
" ft search . --pattern='**.yaml' --regexp='version: 1.0.\\d+' --escape \n\n"
"e.g. search CWD, toml files, with vesion: 1.0.0, use extmime. \n"
" ft search . --pattern='**.{tml,toml}' --regexp='version: 1.0.0' --extmime='tml=text/toml,toml=application/toml' \n\n"
"e.g. search CWD, yaml files, vesion 1.0.0 replace to 1.0.1 \n"
" ft search . --pattern='**.yaml' --regexp='version: 1.0.0' --replace='version: 1.0.1' \n\n"
"e.g. search CWD, html files, <div id=\"helloworld\">...</div> \n"
" ft search . --pattern='**.{htm,html}' --regexp='<div id=\"helloworld\">.*?<\\/div>' --no-linebyline --res";