Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gozeloglu/wounter

Word counter CLI tool written in Go.
https://github.com/gozeloglu/wounter

cli go golang terminal tool

Last synced: 5 days ago
JSON representation

Word counter CLI tool written in Go.

Awesome Lists containing this project

README

        

# wounter

Wounter is a CLI tool for counting words in a given string. You need to pass the string in quotes or double quotes.

## Install

```shell
go install github.com/gozeloglu/wounter@latest
```

## Run

```shell
wounter "Example string for counting."
```

As another option, you can pass file path to count words.

```shell
wounter --path example.txt
```

Output will be as follows:

```shell
============================
Word count: 4
============================
```

## LICENSE

[MIT](LICENSE)