termstyle 1.8.1
termstyle: ^1.8.1 copied to clipboard

A small library to make writing command-line apps more fun. Bringing emojis and colors to your console!

Term Style ๐Ÿ’ƒ #

GitHub CI

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: :zany_face:
  • 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: :knife:
  • scissors: โœ‚๏ธ
  • bomb: ๐Ÿ’ฃ
  • gun: ๐Ÿ”ซ
  • hammer: ๐Ÿ”จ
  • wrench: ๐Ÿ”ง
  • hammerAndWrench: ๐Ÿ› 
  • hammerAndPick: โš’
  • pick: โ›
  • woodSaw: not supported by GitHub markdown
  • axe: :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:

From GitHub

dependencies:
  ...
  termstyle:
    git: git://github.com/iamtheblackunicorn/TermStyle.git

From Pub.dev

dependencies:
  ...
  termstyle: ^1.8.1

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';

Note ๐Ÿ“œ #

  • TermStyle ๐Ÿ’ƒ by Alexander Abraham ๐Ÿ–ค a.k.a. "The Black Unicorn" ๐Ÿฆ„
  • Licensed under the MIT license.
2
likes
130
pub points
48%
popularity

Publisher

blckunicorn.art

A small library to make writing command-line apps more fun. Bringing emojis and colors to your console!

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

pedantic

More

Packages that depend on termstyle