botsay

command module
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

README

botsay License Go Report Card

Like cowsay, but with ASCII robots generated with go-asciibot, which is based on asciibots, which is in turn based on 1k-asciibots which is inspired by the Robot Factory game.

Examples

Output of botsay 'Build complete':

     .===.          .----------------.
    //o o\\         | Build complete |
    \\_v_//         '----------------'
  .==|>o<|==:=L
  '=c|___|
    .'._.'.
    |_| |_|

Output of botsay -- $(fortune):

       Y__           .--------------------------------------------.
     _/- -\_         | If you think last Tuesday was a drag,      |
      \_O_/       --<| wait till you see what happens tomorrow!   |
   .==|>o<|==:=L     '--------------------------------------------'
   '=c|___|
      (   )
     __) (__

Output of botsay -- $(botsay;botsay;botsay):

     _._._          .--------------------------------------------.
    -)O O(-         | )_( .--. |- -| '--' |_^_| o==|ooo|==o      |
     \_0_/       --<| |___| // \\ _\\ //_ .===./` .--. /.- -.    |
  .==|>o<|==:=L     | \ '--' "\_n_/" ,"|+ |". _\|+__|/_ ( )      |
  '=c|___|          | __) (__ _._._ .--. -)ooo(- '--' \_=_/      |
     ]| |[          | (m9\:::/\ /___\6 . /___\ . . ..:::::::. .  |
    [_| |_]         '--------------------------------------------'

Output of date --iso-8601 | botsay -:

      .---.          .-------------.
     } - - {         | 2019-06-03  |
      \_O_/          '-------------'
  .-._/___\_.-.
  ;   \___/   ;
      |_|_|
      /_|_\
Color support

Use -c if you wish to colorize the output text with a synthwave/rainbow-like effect:

Installation

With Go 1.17 or later:

go install github.com/xyproto/botsay@latest
Flags
  • -c - color the output with rainbow-like colors
  • --version - output the current version
  • --help - output brief help
Known issues
  • For longer pieces of text, there may be formatting issues.

General info

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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