cli-progress-animation

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

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

Go to latest
Published: Nov 9, 2019 License: MIT Imports: 8 Imported by: 0

README

cli-progress-animation

Example of progress animations and colour for a Golang CLI

ASCII Cinema:

asciicast

Status:

This is a sample which could be extended or make more generic as part of a task runner.

It combines WaitGroup with github.com/morikuni/aec for colour.

I wrote this around 2 years ago when wanting to generate ASCII animations for the OpenFaaS CLI - it's not made it into the CLI yet, but if you're interested in contributing, then please let me know :-)

Other work

Checkout:

  • My tech blog alexellis.io

  • k3sup - Installer for k3s and helm charts with strongly-typed parameters - works on any K8s cluster including RPi/ARM

  • inlets - HTTPS tunnels to your local network from anywhere

  • OpenFaaS - Serverless-style Functions & Microservices Made Simple on Kubernetes

Testing

Clone the repo into your GOPATH and go build

git clone https://github.com/alexellis/cli-progress-animation

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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