From 50d498c300fca12ecd4e7a178b61534df78b43c3 Mon Sep 17 00:00:00 2001 From: Ash Date: Mon, 25 Nov 2019 14:53:18 -0500 Subject: [PATCH 1/2] Added a -v --version option. --- .gitignore | 3 +++ index.js | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ad46b30..2555477 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,6 @@ typings/ # next.js build output .next + +# Disallow prettierjs code formatting (until we agree upon conventions) +.prettierignore diff --git a/index.js b/index.js index e5c7ab1..fa20f63 100755 --- a/index.js +++ b/index.js @@ -18,7 +18,9 @@ const cli = require("cli"); const package = require("./package.json"); -cli.enable("status"); + +cli.enable("status", "version"); +cli.setApp(package.name, package.version); const commands = { "install": "Install a plugin in development mode", From 49a54e6d8618f30cfacdd3c227343d204d2a5d5a Mon Sep 17 00:00:00 2001 From: Ash Date: Mon, 25 Nov 2019 18:15:10 -0500 Subject: [PATCH 2/2] Bumped version number. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4c1bc5b..b5fe315 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@adobe/xdpm", - "version": "3.0.2", + "version": "3.1.0", "description": "Adobe XD CLI Plugin Manager Utility", "main": "index.js", "scripts": {