Skip to content

tlkamp/mockbob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Report Card

mockbob

mascot

A CLI tool for generating Spongebob meme text.

Because sometimes manually typing out that format takes too many braincells.

Demo

mockbob

Usage

Note: Stdin takes precedence over argument provided values

To use mockbob, simply call it in your terminal.

$ mockbob herpaderp
hErPaDeRp

It supports multiple words, with no quotes necessary:

# Arg
$ mockbob do you even lift bro
dO yOu EvEn LiFt BrO

# Stdin
$ echo do you even lift bro | mockbob
dO yOu EvEn LiFt BrO

mockbob will preserve punctuation:

# Arg
$ mockbob 'do you even lift bro?'
dO yOu EvEn LiFt BrO?

# Stdin
$ echo 'do you even lift bro?' | mockbob
dO yOu EvEn LiFt Bro?

And if you want to start off with capital letters, pass the -c flag.

# Arg
$ mockbob -c do you even lift bro?
Do YoU eVeN lIfT bRo?

# Stdin
$ echo "do you even lift bro?" | mockbob -c
Do YoU eVeN lIfT bRo?

Installation

To install this module, simply run:

$ go install github.com/tlkamp/mockbob@latest

# mockbob is now available in your terminal
$ which mockbob
/Users/traci/go/bin/mockbob

$ mockbob -h
mockbob will take any set of input text, and return it in a Spongebob meme mocking format.

Examples:
  mockbob herpderp     -> hErPdErP

  mockbob herp a derp  -> hErP a DeRp
  
  mockbob -c herpderp  -> HeRpDeRp
  mockbob -r herpaderp -> HerPAdErP
  mockbob -l herpaderp -> h3rp4d3rp

  echo "herpaderp" | mockbob   -> hErPdErP

Usage:
  mockbob [word or sentence] [flags]

Flags:
  -h, --help          help for mockbob
  -l, --leet          convert text to 1337 5p34k
  -r, --random-caps   randomize the capital letters through the text
  -c, --start-caps    start the text with a capital letter

About

Converts text into Spongebob meme mocking format.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •