https://github.com/mark24code/christmas_tree
christmas tree cli
https://github.com/mark24code/christmas_tree
Last synced: 7 months ago
JSON representation
christmas tree cli
- Host: GitHub
- URL: https://github.com/mark24code/christmas_tree
- Owner: Mark24Code
- License: mit
- Created: 2023-11-30T07:53:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-22T04:12:39.000Z (about 2 years ago)
- Last Synced: 2025-06-22T06:05:02.570Z (7 months ago)
- Language: Ruby
- Size: 435 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this 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 `
Execute:
`./christmas_tree.rb`
# One more thing
Add your name
``./christmas_tree.rb --merry_to ``
# preview
