davydog187 / spongebob

A re-write, for performance, of supersimple's spongebob CLI
2 stars 2 forks source link
hacktoberfest rust spongebob

sPongEbob ClI

A rewrite of supersimple's Spongebob CLI in Rust

Why?

The other version is written in Go, which is fast, but not ⚡ fast.

Install

  1. Install Rust
  2. cargo build --release
  3. cp ./target/release/spongebob /somewhere/in/your/path

Usage

$ spongebob --help
spongebob 1.0
Dave Lucia <davelucianyc@gmail.com>
SPongEbOB IS BuiLT WiTH lOve foR aLl YOuR SarCAsTIc NEEds

USAGE:
    spongebob [OPTIONS] [input]...

ARGS:
    <input>...    SAy WhAT nEEDs tO BE saId

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -s, --style <style>    quiet, loud or normal

Install on Arch

If you're running on Arch Linux you can install the package by building with the included PKGBUILD.

# Build the package
makepkg

# Install the resulting package file
sudo pacman -U spongebob-0.1.0-1-x86_64.pkg.tar.zst

Install using Snap

snap install --edge spongebob