aura

command module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: MIT Imports: 3 Imported by: 0

README

aura

Go Go Report Card PkgGoDev

aura - terminal text effect generator/library in go. aura can be used as a comand line utility or a library in other go projects. It's meant to make working with the commeandline easier by producing canned strings/[]bytes so that you can incorporate these prompts in your projects and also as a library so you can quickly use escape commands.

Library

color
16 & 32 color escape codes

This library can set any color settings you might want to use from Xterm. all commands can be used either with or without a string. if used without ie: color.Red() it just returns the string to open that color mode. To return your string to normal you must call color.Reset(). if used with a string for example color.Red("Yikes!") color.Reset() will be called automatically at the end of the string.

cursor

This library allows you to set cursor commands. For example cursor.Move2Coord(2,2) moves the cursor to the position x:2 y:2.

erase

This library is used to erase various pieces of content on the screen.

screen

This library can set screen resolution/params and get info about the screen.

style

This library styles text.

image

Image is a library that can re-render images to ascii including gifs.

modal

This library create modals which can hold any of the content listed above.

select

This library allows you to make multi select options

grid

this library can draw grids on the screen from tabular data.

progbar

this library allows you to create custom progressbars and spinners for your application.

graph

a package that allows you to render simple graphs.

CLI

the cli allows you to generate tons of terminal strings in various languages. Here's how to use it:

Documentation

Overview

Package main makes it easy to use x11 terminal escapes, render graphics in the terminal prompt and more

Copyright © 2022 Adam Siegel incoming@dronestrike.us

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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