Skip to content

A command line tool for printing a festive Adventskranz on the CLI 🎄

License

Notifications You must be signed in to change notification settings

acidAnn/adventskranz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

adventskranz 🎄

A command line tool for printing a festive Adventskranz on the CLI.

                                                        
                                             ^      ^                
                                            (o)    (o)               
                                           __|__  __|__  __|__  __|__
                                           |   |  |   |  |   |  |   |
                                           |   |  |   |  |   |  |   |
                                           | 1 |  | 2 |  | 3 |  | 4 |
                                           |   |  |   |  |   |  |   |
                                           |___|  |___|  |___|  |___|
                                           --------------------------

setup

git clone https://github.com/acidAnn/adventskranz.git
cd adventskranz
./adventskranz

Festive bash

If you want to display the adventskranz with every startup of your shell, simply add

 if [[ $(date +%s) -le $(date +%s --date $(date +%Y)-12-24) ]] && [[ $(date +%s) -gt $(date +%s --date "$(date +%Y)-12-24 -4weeks") ]] ; then
    bash /path/to/adventskranz/adventskranz
fi

to your ~/.bashrc.

usage

Usage: adventskranz [--version] [-h | --help] [-c | --candle CANDLE_NUM]
Print a festive Adventskranz on the CLI.
  --version   Show version
  -h | --help Show help
  -c | --candle CANDLE_NUM Give the number of burning candles

About

A command line tool for printing a festive Adventskranz on the CLI 🎄

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages