cbonsai

Cbonsai is a beautifully random bonsai tree CLI generator.

TLDR

Generate a bonsai in live mode

$ cbonsai -l
copy

Generate a bonsai in infinite mode

$ cbonsai -i
copy

Append a message to the bonsai

$ cbonsai -m "[message]"
copy

Display extra information about the bonsai

$ cbonsai -v
copy

Display cbonsai help

$ cbonsai -h
copy

SYNOPSIS

cbonsai [OPTION]...

DESCRIPTION

cbonsai is a beautifully random bonsai tree generator.

OPTIONS

-l, --live

live mode: show each step of growth

-t, --time=TIME

in live mode, wait TIME secs between steps of growth (must be larger than 0) [default: 0.03]

-i, --infinite

infinite mode: keep growing trees

-w, --wait=TIME

in infinite mode, wait TIME between each tree generation [default: 4.00]

-S, --screensaver

screensaver mode; equivalent to -li and quit on any keypress

-m, --message=STR

attach message next to the tree

-b, --base=INT

ascii-art plant base to use, 0 is none

-c, --leaf=LIST

list of comma-delimited strings randomly chosen for leaves

-M, --multiplier=INT

branch multiplier; higher -> more branching (0-20) [default: 5]

-L, --life=INT

life; higher -> more growth (0-200) [default: 32]

-p, --print

print tree to terminal when finished

-s, --seed=INT

seed random number generator

-W, --save=FILE

save progress to file [default: $XDG_CACHE_HOME/cbonsai or $HOME/.cache/cbonsai]

-C, --load=FILE

load progress from file [default: $XDG_CACHE_HOME/cbonsai]

-v, --verbose

increase output verbosity

-h, --help

show help

Copied to clipboard
coinbase