Skip to content

Commit bbdeed8

Browse files
authored
Merge pull request #33 from AdobeXD/version-opt
Added a -v --version option.
2 parents 9edee57 + 49a54e6 commit bbdeed8

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,6 @@ typings/
5959

6060
# next.js build output
6161
.next
62+
63+
# Disallow prettierjs code formatting (until we agree upon conventions)
64+
.prettierignore

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
const cli = require("cli");
1919
const package = require("./package.json");
2020

21-
cli.enable("status");
21+
22+
cli.enable("status", "version");
23+
cli.setApp(package.name, package.version);
2224

2325
const commands = {
2426
"install": "Install a plugin in development mode",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@adobe/xdpm",
3-
"version": "3.0.2",
3+
"version": "3.1.0",
44
"description": "Adobe XD CLI Plugin Manager Utility",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)