Skip to content

Commit

Permalink
Merge pull request #33 from AdobeXD/version-opt
Browse files Browse the repository at this point in the history
Added a -v --version option.
  • Loading branch information
ashryanbeats authored Nov 25, 2019
2 parents 9edee57 + 49a54e6 commit bbdeed8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,6 @@ typings/

# next.js build output
.next

# Disallow prettierjs code formatting (until we agree upon conventions)
.prettierignore
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit bbdeed8

Please sign in to comment.