termstyle 1.9.0 termstyle: ^1.9.0 copied to clipboard
A small library to make writing command-line apps more fun. Bringing emojis and colors to your console!
Term Style ๐ #
Making your Dart command-line apps funky! ๐
About ๐ #
I always thought that the output of command-line apps was just a slew of text and a little bit boring. So I decided to spice things up a little! TermStyle gives you the ability to use emojis and colors in your terminal!
What's available? #
Colors #
In terms of colors, these colors are currently provided by Term Style:
- Red
- Green
- Blue
- Cyan
- Magenta
- Yellow
Emojis #
These emojis are currently provided by TermStyle in six different categories:
Faces
grinningFace
: ๐laughCry
: ๐upsideDownFace
: ๐heartsInFace
: ๐ฅฐsmilingFace
: ๐haloFace
: ๐winkingFace
: ๐kissingFace
: ๐angryFace
: ๐crazyFace
: ๐คชthinkingFace
: ๐คnaughtyface
: ๐
Animals
seeNoEvil
: ๐animalGorilla
: ๐ฆwindCloud
: ๐จsweatDroplets
: ๐ฆdogFace
: ๐ถunicornHead
: ๐ฆcatFace
: ๐ฑhorseHead
: ๐ดpandaFace
: ๐ผbearFace
: ๐ปtigerFace
: ๐ฏ
Symbols
readHeart
: โค๏ธblackHeart
: ๐คbackArrow
: ๐soonArrow
: ๐topArrow
: ๐infinitySign
: โพmultiplySign
: โ๏ธplusSign
: โdivideSign
: โminusSign
: โtickSign
: โ๏ธ
Tools
kitchenKnife
: ๐ชscissors
: โ๏ธbomb
: ๐ฃgun
: ๐ซhammer
: ๐จwrench
: ๐งhammerAndWrench
: ๐hammerAndPick
: โpick
: โwoodSaw
:not supported by GitHub markdown
axe
: ๐ช
Pride
prideFlag
: ๐ณ๏ธโ๐transFlag
:not supported by GitHub markdown
rainbow
: ๐peopleKissing
:not supported by GitHub markdown
party
: ๐coupleHeart
:not supported by GitHub markdown
sparkles
: โจconfetti
: ๐maleBunnies
: ๐ฏโโ๏ธkiss
: ๐
Art
yarn
: ๐งถheadPhones
: ๐งpiano
: ๐นbowAndArrow
: ๐นpaintBrush
: ๐paintPalette
: ๐จsewingNeedle
:not supported by GitHub markdown
threadRoll
: ๐งตsyringe
: ๐pill
: ๐
Installation ๐ฅ #
Adding to your project #
To add TermStyle to your project's dependencies, add this to your project's pubspec.yaml
:
dependencies:
...
termstyle:
git: git://github.com/angeldollface/termstyle.git
The three dots represent anything else that you might have in the dependencies
section.
Having done that, re-fetch your project's dependencies by running this in the project's root directory:
$ dart pub get
Usage ๐จ #
Importing #
To import all methods, add this to the top of your .dart
file:
import 'package:termstyle/termstyle.dart';
APIs #
To inspect the available APIs, read the source code, please. I've split everything by subject so it should be easy to understand.
Note ๐ #
- Term Style ๐ by Alexander Abraham ๐ค a.k.a. "Angel Dollface" ๐ ๐
- Licensed under the MIT license.