Project created for simplification access to Github gist.
For build, inside gist-cli folder type:ant for build project by Ant or type:mvn install for build by maven, it create runnable jar file. As needed you can automatically install ivy, for it type: ant init-ivy
java –jar gist-cli.jar –u username -p passworddownload and save gists from github by user username and passwordjava –jar gist-cli.jar –rthe same behavior as previously command if exist inside working directory user property file (“config.properties”)java –jar gist-cli.jar –luse local saved data as work datajava –jar gist-cli.jar –hshow command listjava –jar gist-cli.jar –show gistIdshow gist info by IDjava –jar gist-cli.jar –show allshow all user gists infojava –jar gist-cli.jar –d gistIddownload gist files by gistId into work directory (/localRepository/’gistId’/)java –jar gist-cli.jar –d alldownload all gists files into work directory (/localRepository/’gistId’/)
- Ant
ant javadoccreate documentation togist-cli\build\runnable\javadoc\ - Maven
mvn javadoc:javadoccreate doucmentation togist-cli\target\site\
- Maven
mvn testrun tests and create report togist-cli\target\surefire-reports\index.html
*mvn cobertura:cobertura generate code coverage documentation by maven