ja-greetings
Version:
ja-greetings is a cli tool that displays Japanese greetings
107 lines (80 loc) • 2.13 kB
Markdown
[](https://badge.fury.io/js/ja-greetings)
[](https://travis-ci.org/k-kuwahara/ja-greetings)
[](https://codeclimate.com/github/kkeeth/ja-greetings)

[](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!