Class: Unisec::CLI::Commands::Grep
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- Unisec::CLI::Commands::Grep
- Defined in:
- lib/unisec/cli/rugrep.rb
Overview
CLI command unisec grep
for the class Rugrep from the lib.
Example:
$ unisec grep 'FRENCH \w+'
U+20A3 ₣ FRENCH FRANC SIGN
U+1F35F 🍟 FRENCH FRIES
Instance Method Summary collapse
-
#call(regexp: nil) ⇒ Object
Hexdump of all Unicode encodings.
Instance Method Details
#call(regexp: nil) ⇒ Object
Hexdump of all Unicode encodings.
27 28 29 |
# File 'lib/unisec/cli/rugrep.rb', line 27 def call(regexp: nil, **) puts Unisec::Rugrep.regrep_display(regexp) end |