Skip to content
This repository has been archived by the owner on Aug 31, 2020. It is now read-only.

e8kor/assessment-searcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Searcher

Application serves single purpose of scanning files content

Design

Project uses Hexagon architecture as its main pattern. Actual trait implementation is not used inside of app, instead preferred way to access its implementation is via companion object. Command is handy sealed structure that safely parse raw input. Application preforms simple tokenization, so words like home?, home., home considered as same word, logic applied for both scanned files and input words.

Assembly

To prepare new release sbt requires to be in path. Newly assembled distributive located under ${REPO_HOME}/app.jar

Assembly Command:

sbt assembly

How To

Command to run application:

java -jar app.jar /path/to/search/root

Usage:

Reserved words:

  • :quit exiting application

Files home location must be passed as a first argument. Path must be or directory or single file.

Strings separated by whitespace considered as list of argument to search for.

Single word argument must contain no spaces.

About

CLI file content search tool

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages