From 0a1bf5574680b1f90d373703116dc67623e5c767 Mon Sep 17 00:00:00 2001 From: chee Date: Wed, 5 Jun 2019 14:42:44 +0100 Subject: [PATCH] allow user to provide a width --- index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index a16cd26..2cc36ca 100755 --- a/index.js +++ b/index.js @@ -31,7 +31,11 @@ let {argv} = require("yargs").command({ alias: ["t"], description: "the number of pixels an emoji should represent", type: "number", - default: 32, + }, + width: { + alias: ["w"], + description: "the number of emoji to print per line", + type: "number", }, background: { alias: ["b"],