gosorter

command module
v0.1.14-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2024 License: MIT Imports: 1 Imported by: 0

README

GoSorter

Go Go Report Card codecov

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
docs command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL