Giter VIP home page Giter VIP logo

kubectl-beers's Introduction

kubectl-beers

Insanely useful tool to get beer using kubectl.

Note: this uses the codepoint f0fc for the beer icon. This is taken from Nerdfonts. Make sure to install such a font if the output is broken.

Installation

Just download the binary from the release page. And put it somewhere in your PATH (and rename it to kubectl-beers).

Check that it works using:

kubectl beers -h

From Source

git clone https://github.com/f4z3r/kubectl-beers.git
cd kubectl-beers
cargo build --release
cp target/release/kubectl-beers $HOME/.local/bin/

Usage

kubectl-beers 0.1.3
Jakob B. <[email protected]>
Gets you beer!

USAGE:
    kubectl-beers [FLAGS] [OPTIONS] [SUBCOMMAND]

FLAGS:
    -A, --all-namespaces    It ... well it does nothing really...
    -a, --ascii             Uses ASCII art instead of Unicode.
    -b, --bottled           Gives you bottled beer.
    -h, --help              Prints help information
    -V, --version           Prints version information

OPTIONS:
    -n, --namespace <NAMESPACE>    It namespaces you beer???

SUBCOMMANDS:
    get     Gets you as much beer as you want.
    help    Prints this message or the help of the given subcommand(s)

Examples

Just get a beer:

kubectl beers

You prefer bottles? No problemo:

kubectl beers --bottled

You need ASCII because you live in 1997 and have no Unicode support?

kubectl beers --ascii get 2

If you are having a party and need more than 2 or 3 beers, we also got you covered:

kubectl beers get 15

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.