git clone https://github.com/AnkitKumar117/fileStore
cd fileStore
Build the project using following command.
go build ./...
Run the server.
./server
You can now use store executable to perfrom following actions.
./store ls # To list all the files in store.
./store wc # To get word count of all the files in store.
./store update <fileName> # To upsert file in the store.
./store remove <fileName> # To remove file from the store.
./store add <fileName> <fileName> ... # To add multiple files in the store.
./store freq-words [--limit|-n 10] [--order=dsc|asc] # Least or most frequent words in the files.