termstyle 1.9.0 copy "termstyle: ^1.9.0" to clipboard
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 ๐Ÿ’ƒ #

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: ๐Ÿคช
  • 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.
3
likes
130
pub points
19%
popularity

Publisher

verified publisherblckunicorn.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

lints

More

Packages that depend on termstyle