Snippet

Quickly extract your specific Github PRs with links last week (or earlier than last week) and convert them into markdown formats.
$ snippet --help
Snippet
--------------
OVERVIEW: Quickly extract your specific Github PRs with links last week (or earlier than last week) to markdown formats.
Specify an organization in Github. (The default is your all repositories.)
USAGE: Snippet <organization>
OPTIONS:
--token Register your access token for repo (Full control of private repositories) in Github using the `--token` at first.
--week Pass a past week number using the `--week`. (The default is `-1`)
--help Display available options
$ snippet Org --week -2
2017-12-11 ~ 2017-12-18 in Org
---------------------------------------
Total count: 3
* [*Mon Dec 18*] [Org/repo] [#735](https://github.com/Org/repo/pull/735) Initial commit
* [*Fri Dec 15*] [Org/repo] [#733](https://github.com/Org/repo/pull/733) Update README
* [*Fri Dec 15*] [Org/repo] [#731](https://github.com/Org/repo/pull/731) Add new function
Requirements
Installation
On macOS
Makefile
$ git clone git@github.com:pixyzehn/Snippet.git && cd Snippet
$ make
SwiftPM
$ git clone git@github.com:pixyzehn/Snippet.git && cd Snippet
$ swift build -c release
$ cp -f .build/release/Snippet /usr/local/bin/Snippet
$ mint run pixyzehn/Snippet
On Linux
$ git clone git@github.com:pixyzehn/Snippet.git && cd Snippet
$ swift build -c release
$ cp -f .build/release/Snippet /usr/local/bin/Snippet
Contributing
- Fork it ( https://github.com/pixyzehn/Snippet )
- Create your feature branch (
git checkout -b new-feature
)
- Commit your changes (
git commit -am 'Add some feature'
)
- Push to the branch (
git push origin new-feature
)
- Create a new Pull Request
License
MIT License
Snippet
Quickly extract your specific Github PRs with links last week (or earlier than last week) and convert them into markdown formats.
Requirements
Installation
On macOS
Makefile
SwiftPM
Mint
On Linux
Contributing
git checkout -b new-feature
)git commit -am 'Add some feature'
)git push origin new-feature
)License
MIT License