All Projects → alexellis → Cli Progress Animation

alexellis / Cli Progress Animation

Licence: mit
Coloured progress-bar for your Golang CLI

Programming Languages

go
31211 projects - #10 most used programming language

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].