UNPKG

ja-greetings

Version:

ja-greetings is a cli tool that displays Japanese greetings

112 lines (80 loc) 2.13 kB
[![npm version](https://badge.fury.io/js/ja-greetings.svg)](https://badge.fury.io/js/ja-greetings) [![Build Status](https://travis-ci.org/k-kuwahara/ja-greetings.svg?branch=master)](https://travis-ci.org/k-kuwahara/ja-greetings) [![Code Climate](https://codeclimate.com/github/kkeeth/ja-greetings/badges/gpa.svg)](https://codeclimate.com/github/kkeeth/ja-greetings) ![node](https://img.shields.io/badge/node-%3E%3D%208.0.0-brightgreen.svg?style=social) [![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE) # ja-greetings ```bash _______________ あ 今 おけ よ年 めま ろも でし し とて おく う 願 ご い ざ し い ま ま す す 。 。 --------------- ``` `ja-greetings` is a cli tool that displays the greetings of each season in Japan. ## Install ```bash $ npm i ja-greetings -g ``` ※The corresponding version of nodejs is version 6 or higher! ## Usage Just run the command! (the following is an example) ```bash $ ja-greetings new # shortcut $ jgr new ``` __Commands:__ ```bash a, all : show all greetings n, new : new years greeting s, summer : summer greeting w, winter : winter greeting l, last : end of years greeting t, thx : thanks greeting so, sorry : sorry greeting ``` __Optios:__ ```bash -d, --dialect Greeting from each prefecture dialect -s, --surround Decoration of the surround -l, --language Select language -v, --version Show version -h, --help Show help ``` __Dialects:__ ```bash kyoto, osaka, okinawa, hiroshima ``` __Languages__ ```bash en, ch ``` __Surrounds:__ ```bash no Do not surround text w-star ☆ b-star ★ asterisk * w-tri top: ▽ , bottom: △ b-tri top: ▼ , bottom: ▲ slash top: / ̄, bottom: _/ ``` ## Test ```bash $ chmod +x cli.js $ npm t ``` ## License [MIT](https://github.com/kkeeth/ja-greetings/blob/master/LICENSE) ## Others I'm waiting for you at any time, including code reviews, bug reports, feature additions, questions and more!