commit 02a712156436206a9f7c1e9909a98dd29d5dacfa
parent 69d54f407842a63c90aa09d0dabb165245f9722e
Author: Gavin Rehkemper <gavinr@users.noreply.github.com>
Date: Fri, 29 Oct 2021 16:48:16 -0500
Merge pull request #61 from gavinr/package-version
fix(version): show proper version number in cli
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/index.js b/index.js
@@ -6,12 +6,11 @@ const co = require("co");
const prompt = require("co-prompt");
const { Octokit } = require("@octokit/rest");
const { throttling } = require("@octokit/plugin-throttling");
-
const { importFile } = require("./import.js");
const { exportIssues } = require("./export.js");
program
- .version("2.0.0")
+ .version(require('./package.json').version)
.arguments("[file]")
.option(
"-g, --github_enterprise [https://api.github.my-company.com]",