0.0
The project is in a healthy, maintained state
Christmas tree cli
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.4.4
 Project Readme

ChristmasTree

christmas tree cli

dependency

System dependencies:

  • Ruby 3.0+
    • MacOS: brew install ruby
    • Linux: apt install ruby
  • Ncurses:
    • MacOS: brew install ncurses
    • Linux: apt install libncurses5-dev or apt install libncursesw5-dev

Gem dependencies: below Ruby 3.0 need install gems manually:

  • gem install curses

Execution

Way 1: use GEM remote run

gem exec christmas_tree

if you meet path trouble, use absolute brew ruby path:

/usr/local/opt/ruby/bin/gem exec christmas_tree

Way 2: download it and execute on local machine

Enter project directory: cd <project_path>

Execute:

./christmas_tree.rb

One more thing

Add your name

./christmas_tree.rb --merry_to <your name>

preview

img