This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Jae Gangemi edited this page May 25, 2018
·
3 revisions
Examples of repository definitions can be found here.
It is recommended that you create an alias or shell function to abstract away the docker
command
export DEFINITION_REPOSITORY=<PATH TO DEFINITION_REPOSITORY>
function github-repository-tools {
docker pull dangernoodle/github-repository-tools
docker run -it --rm \
-v ${DEFINITION_REPOSITORY}:/definition-repository \
dangernoodle/github-repository-tools \
--repoDir /definition-repository $@
}
leaving you with just the following to invoke the tool
github-repository-tools repository <NAME OF REPOSITORY>
If you are unable or do not wish to use docker
, an uber jar is available
that may be used from the command line.
Download and execute using the following:
java -Dlogback.configurationFile=<PATH-TO-FILE> -jar github-repository-tools-<VERSION>-shaded.jar
You may use the same logback.xml
configuration used inside the docker container or you may supply your own. Java 8
is required to execute the jar.