From 7af9b7b3cacdd3d497b522dc233199b100dec9e2 Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Mon, 18 Nov 2019 21:34:00 +0530 Subject: [PATCH] feat: suggest matching commands --- bin/docsify | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/docsify b/bin/docsify index 6d5e23c..e13a423 100755 --- a/bin/docsify +++ b/bin/docsify @@ -19,6 +19,7 @@ require("yargonaut") const yargs = require("yargs") .demandCommand(1, chalk.red("[ERROR] 0 arguments passed. Please specify a command")) + .recommendCommands() .usage(chalk.bold(y18n.__("usage") + ": docsify ")) .command({ command: "init [path]",