Skip to content
What did I work on last week (or earlier than last week) in Github?
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Sources
Tests
.gitignore
.swift-version
.swiftlint.yml
.travis.yml
LICENSE
Makefile
Package.resolved
Package.swift
README.md

README.md

Snippet

SPM Build Status

Quickly extract your specific Github PRs with links last week (or earlier than last week) to 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

Snippet requires / supports the following environments:

  • Git

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 -Xswiftc -static-stdlib
$ cp -f .build/release/Snippet /usr/local/bin/Snippet

Mint

$ 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

  1. Fork it ( https://github.com/pixyzehn/Snippet )
  2. Create your feature branch (git checkout -b new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin new-feature)
  5. Create a new Pull Request

License

MIT License

You can’t perform that action at this time.