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 password
download and save gists from github by user username and passwordjava –jar gist-cli.jar –r
the same behavior as previously command if exist inside working directory user property file (“config.properties”)java –jar gist-cli.jar –l
use local saved data as work datajava –jar gist-cli.jar –h
show command listjava –jar gist-cli.jar –show gistId
show gist info by IDjava –jar gist-cli.jar –show all
show all user gists infojava –jar gist-cli.jar –d gistId
download gist files by gistId into work directory (/localRepository/’gistId’/)java –jar gist-cli.jar –d all
download all gists files into work directory (/localRepository/’gistId’/)
- Ant
ant javadoc
create documentation togist-cli\build\runnable\javadoc\
- Maven
mvn javadoc:javadoc
create doucmentation togist-cli\target\site\
- Maven
mvn test
run tests and create report togist-cli\target\surefire-reports\index.html
*mvn cobertura:cobertura
generate code coverage documentation by maven