pocketworks / git2pdf

Print physical Kanban cards from your GitHub issues, and stick that sweet stuff on your office wall
http://www.pocketworks.co.uk/blog/2014-07-01-announcing-git2pdf
MIT License
51 stars 15 forks source link

Support for GitHub Enterprise and custom domains #12

Open AndyOGo opened 7 years ago

AndyOGo commented 7 years ago

Are custom domain's of self-hosted GitHub Enterprise instances supported?

AndyOGo commented 7 years ago

I checked the source code and tried to specifiy the --api/-a option with no success . It throws:

user:~$ git2pdf gen foo/foo -a https://www.example.com

ERROR: "git2pdf gen" was called with arguments ["foo/foo", "-a", "https://www.example.com"]
Usage: "git2pdf gen <repository1,repository2>"
Usage: "git2pdf gen <repository1,repository2>"
AndyOGo commented 7 years ago

Anyone who is curios gem install git2pdf installs an old version.

If you install from git source directly by utilising specific_install everything works fine. SO: http://stackoverflow.com/questions/2577346/how-to-install-gem-from-github-source

gem install specific_install
gem specific_install https://github.com/pocketworks/git2pdf.git

Now you can use --api/-a option as expected.