Template repository for testing CLI features of applications written in Go

Go CLI testing example

This repository provides a template on how to create a testable CLI applications in Go language.

As an example, this application provides simple compression/decompression functionality to be able to deal with reading files, environment variables and parsing flags, which is common for CLI tools.

CI for this repository requires 100% mutation score on the code to ensure high quality of test code.

Makefile and .github/workflows/ci.yml also provides good example on wiring up Go project into the CI.

Owner
Mateusz Gozdek
Consistently reducing accidental complexity around me.
Mateusz Gozdek
Similar Resources

A template and a functioning example for a basic JFrog CLI plugin

hello-frog About this plugin This plugin is a template and a functioning example for a basic JFrog CLI plugin. This README shows the expected structur

Dec 21, 2021

A Golang CLI template on Gitpod

 A Golang CLI template on Gitpod

This is a Golang CLI template configured for ephemeral development environments on Gitpod.

Nov 5, 2021

A template that help you to quick implement some CLI using Go

db-data-generator This is template that help you to quick implement some CLI using Go. This repository is contains following. minimal CLI implementati

Nov 22, 2021

A template and a functioning example for a basic JFrog CLI plugin

hello-frog About this plugin This plugin is a template and a functioning example for a basic JFrog CLI plugin. This README shows the expected structur

Nov 26, 2021

A Golang CLI template on Gitpod

A Golang CLI template on Gitpod This is a Golang CLI template configured for eph

Jan 2, 2022

Golang CLI app template.

go-cli Golang CLI app template. TODO Allow having nested commands (i.e. $ myapp cmd0 cmd1 [options...]) Allow to run a custom action when no commands

Mar 10, 2022

A versatile library for building CLI applications in Go

mow.cli Package cli provides a framework to build command line applications in Go with most of the burden of arguments parsing and validation placed o

Dec 28, 2022

An easy to use menu structure for cli applications that prompts users to make choices.

An easy to use menu structure for cli applications that prompts users to make choices.

WMenu Package wmenu creates menus for cli programs. It uses wlog for its interface with the command line. It uses os.Stdin, os.Stdout, and os.Stderr w

Dec 26, 2022

multi progress bar for Go cli applications

Multi Progress Bar mpb is a Go lib for rendering progress bars in terminal applications. Features Multiple Bars: Multiple progress bars are supported

Dec 28, 2022
:zap: boilerplate template manager that generates files or directories from template repositories
:zap: boilerplate template manager that generates files or directories from template repositories

Boilr Are you doing the same steps over and over again every time you start a new programming project? Boilr is here to help you create projects from

Jan 6, 2023
A command line tool that builds and (re)starts your web application everytime you save a Go or template fileA command line tool that builds and (re)starts your web application everytime you save a Go or template file

# Fresh Fresh is a command line tool that builds and (re)starts your web application everytime you save a Go or template file. If the web framework yo

Nov 22, 2021
Gobby-cli - CLI application to debug gobby applications

go(bby) Interactive debugging tool for gobby applications Usage Coming soon™ Ins

Feb 8, 2022
oc CLI plugin to interact with Helm features provided by the OpenShift Console

OpenShift provides support for managing the lifecycle of Helm charts. This capability is limited primarily to the Web Console. This plugin enables the management of Helm charts similar to using the standalone Helm CLI while offloading much of the work to OpenShift.

Aug 20, 2022
CLI program for SEO 301 & 302 url rewrites in fastly with more magento features soon to come

Magento-Fastly Table of Contents Magento-Fastly Development & Testing Install fastly cli Features Installation Usage Development & Testing To test thi

Oct 29, 2021
There is a certain amount of work to be done before you can implement the features of your Go powered CLI app

go-project-template-cli There is a certain amount of work to be done before you can implement the features of your Go powered CLI app. A few of those

Jan 23, 2022
CLI to output stargazer ⭐️ histogram for a GitHub repository

bestgo bestgo is a CLI that pulls live data from https://api.bestofgo.dev (UI coming soon). This is an application that scrapes GitHub data for Go rep

Jun 30, 2022
A dead simple CLI tool that prints the next semantic version based on the last tag of your git repository

nextver A dead simple CLI tool that prints the next semantic version based on the last tag of your git repository. Install go install github.com/junk1

Sep 29, 2022
Issue-mafia - An out-of-the-box CLI that helps you to easily synchronize Git hooks with a remote repository

issue-mafia is an out-of-the-box CLI that helps you to easily synchronize Git hooks with a remote repository.

Feb 14, 2022
A Golang CLI template on Gitpod
A Golang CLI template on Gitpod

A Golang CLI template on Gitpod This is a Golang CLI template configured for ephemeral development environments on Gitpod. Next Steps Click the button

Oct 22, 2021