Created
November 2, 2015 23:59
-
-
Save dalehenrich/c626d4628ae6b70f8d79 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
projectlog | |
" | |
project log [--limit=<max-commit-log-entries>] <project-name> | |
" | |
| logLimit registration projectName | | |
self getSubcommandOptsMixedLongShort: {#('limit' nil #'required')}. | |
subOptions | |
at: 'limit' | |
ifPresent: [ :limit | logLimit := limit asNumber ] | |
ifAbsent: [ logLimit := 100 ]. | |
projectName := subArguments at: 1. | |
registration := self projectRegistrationFor: projectName. | |
^ self projectCommitLog: registration logLimit: logLimit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment