Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is possible to export each issue in a separated file? #13

Closed
guilhermeprokisch opened this issue Aug 17, 2020 · 4 comments
Closed

Is possible to export each issue in a separated file? #13

guilhermeprokisch opened this issue Aug 17, 2020 · 4 comments

Comments

@guilhermeprokisch
Copy link

guilhermeprokisch commented Aug 17, 2020

I want to export each issue in a separated file. It's possible to do?

@guilhermeprokisch guilhermeprokisch changed the title Is possible to export each issue in a different file? Is possible to export each issue in a separated file? Aug 17, 2020
@mattduck
Copy link
Owner

That's not currently feature, but it wouldn't be a huge amount of work to implement. I'll try to get to it sometime, but realistically it's going to be at least a few weeks until I sit down to look at it.

@lhoupert
Copy link

Hi there!
I would also be really interested in this possibility. I am using github issues as get-things-done lists :-) and it would be great to be able to easily export each individual issue as a md file.
I got the idea after reading this nice article (https://rabernat.medium.com/advising-and-collaborating-during-a-pandemic-and-sabbatical-ca9531b82b6d).

@mattduck
Copy link
Owner

it's going to be at least a few weeks until I sit down to look at it.

This was not a good estimate, my bad. Nearly a year late but I finally sat down and implemented multiple file support this morning.

Now if you pass the argument --multiple-files, your output path will be treated as a directory (instead of the default markdown file), and each issue/PR will be written to its own file, using the same formatting that it has when it's written to a single file. You can see an example of this at https://github.com/mattduck/gh2md/tree/master/examples/gh2md-multiple-files-example.

There is a new 1.0.1 release of gh2md that includes this feature. (It also removes support for user+password login as Github dropped supporting this a while back).

Hopefully this will be useful for somebody in the future. I'm going to close this as done but LMK if any feedback/issues.

@guilhermeprokisch
Copy link
Author

Thanks, @mattduck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants