ReCo

command module
v0.0.0-...-a799ceb Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

ReCo

ReCo is a simple Go CLI built with Cobra that will be capable of doing the followings:

Read files and calculates:

  • word count,
  • number of letters,
  • number of vowels/consonants,
  • the number of punctuation marks/spaces.

The name ReCo is an abbreviation for read and count.

If you want to build new command-line interfaces, here is the blog.

Instructions

  • Clone the repository.
  git clone https://github.com/3n0ugh/ReCo.git
  • Then, tidy up the packages.
  go mod tidy
  • Lastly, build the ReCo.
  go install
  • Now, you can use it.
  # Sample
  ReCo count -w -v -c -l -s -d -p -t test.txt
  
  # To see all flags
  ReCo count -h

Documentation

Overview

Copyright © 2021 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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