maxlath / backup-github-repo

Backup all the issues and pull requests of a Github repo, including the comments, events, and labels, as JSON and as HTML
40 stars 7 forks source link

Clarify necessity of `npm link` #5

Closed goretkin closed 3 years ago

goretkin commented 3 years ago

From the description

# Make backup-github-repo available globally
npm link

I thought I could get away with not doing npm link if I wanted to invoke the tool with the full path. However backup-github-repo itself assumes npm link has been run and that PATH contains symlinks, for example:

/usr/local/bin/download-github-repo-json@ -> ../lib/node_modules/backup-github-repo/scripts/download_json
maxlath commented 3 years ago

clarification attempted in 62ef2a4