Categorygithub.com/AnkitKumar117/fileStore
repository
0.0.0-20230618165504-fb4ce58c8a3c
Repository: https://github.com/ankitkumar117/filestore.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# 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?

  1. Clone this Project and Navigate to the folder.
git clone https://github.com/AnkitKumar117/fileStore
cd fileStore
  1. Build the project using following command.
go build ./...
  1. Run the server.
./server
  1. 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.