pcgeek86 / PSGitHub

This PowerShell module contains commands to manage GitHub through its REST API.
MIT License
186 stars 37 forks source link

change the get-githubrepository function #26

Closed czhang03 closed 7 years ago

czhang03 commented 7 years ago

to make it be able to get the license info and readme info of the repo

@pcgeek86

pcgeek86 commented 7 years ago

@chantisnake Thanks, I made some changes to reduce duplication of code. Could you take a look, and let me know if it looks okay to you?

czhang03 commented 7 years ago

this is okay. I included the switch just to look better. It is not for any purpose, so removing it is totally fine with me.

pcgeek86 commented 7 years ago

@chantisnake I would say that it's better to keep things as simple as possible. The default behavior should be exactly what the user is expecting, but the switches can modify the behavior slightly. Thanks for sending this over.