Skip to content
/ oko Public

OKO: Search, Count, Transform and Output Content

License

Notifications You must be signed in to change notification settings

ademsa/oko

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OKO logo

CLI to Search, Count, Transform and Output Content

Language License Release

Features

  • Search content in files or from stdin
  • Count occurrences
  • Regex search
  • Exact match or ignore case search/count
  • Output results in plain or json format
  • Save results to console or file
  • Color output
  • Line number output
  • Etc.

Running and Development

Build

make build

Run example

./target/debug/oko here -i ./examples/content.txt

Run using pipe

cat ./examples/content.txt | ./target/debug/oko here

Run tests

make test

About

OKO: Search, Count, Transform and Output Content

Resources

License

Stars

Watchers

Forks

Packages

No packages published