damus-github-export

Damus issue data exported from github
git clone git://jb55.com/damus-github-export
Log | Files | Refs | README | LICENSE

commit 04c3c365a6cfefe03db4d1d092ae5a6738c20a88
parent c7fb648c2bcd17ccfcd2f0f2b1c2c9873cc1b47b
Author: Gavin Rehkemper <gavin@gavinr.com>
Date:   Sun, 23 Aug 2020 23:28:01 -0500

v2

Diffstat:
MCHANGELOG.md | 15++++++++++++++-
Mindex.js | 4+++-
2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -4,6 +4,18 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [2.0.0] - 2020-08-23 + +## Added + +- Additional options `exportAll` to export all possible issue attributes. +- Optionally pass organization (or username) via commandline option, `--organization`. +- Optionally pass repository name via commandline option, `--repository`. + +## Changed + +- Default fields include milestone title. + ## [1.0.3] - 2020-05-03 ## Changed @@ -62,7 +74,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Basic CSV import functionality. - A few basic tests -[Unreleased]: https://github.com/gavinr/github-csv-tools/compare/v1.0.3...HEAD +[Unreleased]: https://github.com/gavinr/github-csv-tools/compare/v2.0.0...HEAD +[1.0.3]: https://github.com/gavinr/github-csv-tools/compare/v1.0.3...v2.0.0 [1.0.3]: https://github.com/gavinr/github-csv-tools/compare/v1.0.2...v1.0.3 [1.0.2]: https://github.com/gavinr/github-csv-tools/compare/v1.0.1...v1.0.2 [1.0.1]: https://github.com/gavinr/github-csv-tools/compare/v1.0.0...v1.0.1 diff --git a/index.js b/index.js @@ -11,7 +11,7 @@ const { importFile } = require("./import.js"); const { exportIssues } = require("./export.js"); program - .version("1.0.3") + .version("2.0.0") .arguments("[file]") .option( "-g, --github_enterprise [https://api.github.my-company.com]", @@ -36,6 +36,7 @@ program ) .option("-c, --exportComments", "Include comments in the export.") .option("-e, --exportAll", "Include all data in the export.") + .option("-v, --verbose", "Include additional logging information.") .action(function (file, options) { co(function* () { var retObject = {}; @@ -56,6 +57,7 @@ program } retObject.exportComments = options.exportComments || false; retObject.exportAll = options.exportAll || false; + retObject.verbose = options.verbose || false; retObject.userOrOrganization = options.organization || ""; if (retObject.userOrOrganization === "") {