GoSorter

GoSorter is a command line tool written in Golang, to sort lines of files.
It is largely inspired by the "sort" linux command. With that being said, the functionality is not exactly the same (the linux tool is much more extensive and supports more options at the moment).
Important
⚠️ This tool was developed very quickly and just for fun :). It is NOT battle tested. So please use it carefully and at your own risk!
Getting started
Installation
- Just install the tool:
go install github.com/avazquezcode/gosorter@latest
Usage
Basic usage, please run:
gosorter sort <FILE_PATH>
For more than one file just add multiple names :). The lines of all the files will be merged together, and then sorted. Example:
gosorter sort <FILE1_PATH> <FILE2_PATH> <FILE3_PATH>
To check the different flags (options), please run:
gosorter sort --help
Documentation
For a complete documentation of the tool, please refer to this.