Gat is a command line program that provides multiple functionalities such as :
- Printing file's content
- Searching for keyword using regex or exact matching
- Count lines
- Count words
First you can check the output of the help command like :
gat --help
gat.exe --help
The go program is required to build this project, if it's not installed on your machine please download it here : https://go.dev/dl/
To build the project, simply download this repository and execute :
go build
go test
go test -cover
go test -coverprofile=coverage.out ./...
go tool cover -func=coverage.out
go test -coverprofile=coverage.out ./...
go tool cover -html=coverage.out