greek-flag
Print the Greek flag to the console using unicode block characters and ANSI-256 colors!
Minimum Dimensions: 9 rows x 27 columns (ratio: 2:3)
Usage
npx
:
Via $ npx greek-flag
Via Global Install
$ npm install --global greek-flag
$ greek-flag
Via Import
$ npm install greek-flag
then:
const greek_flag = require('greek-flag');
console.log(greek_flag.create(<scale-number>, <border-boolean>, "<light|classic|dark>"));
Options
Standard Greek Flag
$ greek-flag
Add a Border
To add a border, add the --border
flag:
$ greek-flag --border
Make it Bigger
To increase the scale, add the --scale=<positive-number>
flag. The value can be any integer greater than or equal to 1. (Default scale is 1). Can also use --scale=full
to fit the flag to the closest terminal dimensions.
$ greek-flag --scale=<positive-number>
Change the Colors
The flag can be displayed with a lighter or a darker shade of blue using the --color=<light|classic|dark>
flag. The default value is classic
.
Lighter Blue
$ greek-flag --color=light
Darker Blue
$ greek-flag --color=dark
Putting it All Together
Parameters can be mixed together to display your preferred version
Ζήτω η Ελλάς!
Related
- euro-flags - Print the flags of 28 European countries to the console!
- usa-flag - Print the flag of the United States of America to the console!