repository
0.0.0-20230618165504-fb4ce58c8a3c
Repository: https://github.com/ankitkumar117/filestore.git
Documentation: pkg.go.dev
# README
fileStore
A simple cli and server application in go to implement fileStore.
Prerequisite
Please install and set-up Golang on your system in advance.
How to run this project?
- Clone this Project and Navigate to the folder.
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.