1.0.6 • Published 4 years ago

ctexport v1.0.6

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

GitHub CSV Tools Build Status

Import and export GitHub issues via CSV

Usage

Prerequisite: Install Node.js, then run this to install:

npm install -g github-csv-tools

After install, githubCsvTools --help for info on how to use, or see below.

Instructions for exporting or importing:

To Import Issues

Currently imports title, description, labels, status (closed or open) and milestones.

githubCsvTools myFile.csv

To Export Issues

githubCsvTools
OptionDefaultNotes
-f, --exportFileNameYYYY-MM-DD-hh-mm-ss-issues.csvThe name of the CSV you'd like to export to.
-a, --exportAttributesnumber, title, labels, state, assignees, milestone, comments, created_at, updated_at, closed_at, bodyComma-separated list of attributes (columns) in the export**.
-c, --exportCommentsn/aInclude comments in the export.

** List of all possible options for exportAttributes: url, repository_url, labels_url, comments_url, events_url, html_url, id, node_id, number, title, user, labels, state, locked, assignee, assignees, milestone, comments, created_at, updated_at, closed_at, author_association, body (more info)

Tokens

For all actions, the tool will ask you to input a GitHub token. To obtain this token:

  1. Go to https://github.com/settings/tokens
  2. Click "Generate New Token"
  3. Check on repo
  4. Copy/paste the token provided when the tool asks for it.

Other Options

OptionNotes
-V, --versionoutput the version number
-g, --github_enterpriseYour GitHub Enterprise URL.
-t, --tokenThe GitHub token. https://github.com/settings/tokens
-h, --helpSee all the options and help.

Development

  1. Clone the repo.
  2. Browse to repo, then run npm install -g

Changelog

See CHANGELOG.md

Thanks