Difference between revisions of "Home Library CLI"

From Gcube Wiki
Jump to: navigation, search
(Start)
(Run the Test)
Line 36: Line 36:
 
== Run the Test ==
 
== Run the Test ==
 
<source lang="bash">
 
<source lang="bash">
test sdsdf fdfg
+
java -jar home-library-cli-1.0.0-SNAPSHOT-jar-with-dependencies.jar test
 
+
dfgdfgsd
+
 
</source>
 
</source>
  

Revision as of 19:32, 23 March 2016

Introduction

The Home Library CLI is a Java library providing command line interface Home Library WebApp. to create folder and to save, list, delete files on JackRabbit. This CLI library has following features:

  • Create Folder: the API interface.
  • HomeLibrary: the API interface.
  • HomeLibrary: the API interface.
  • HomeLibrary: the API interface.
  • HomeLibrary: the API interface.

The following sections will discuss each of these commands in turn, and discuss how to use them with Home Library CLI.

Commands

Create Folder

List Folder

Save files

Remove Files and Folders

Test

Usage

Prerequisites

Home Library CLI is a self-runnable jar, you only need a Java 7 JDK. Download the latest release from the here or by clicking this link: xxx

Start

After downloading the Home Library CLI jar just start it as follows:

java -jar home-library-cli-1.0.0-SNAPSHOT-jar-with-dependencies.jar

This starts the library and writes some help lines.

Run the Test

java -jar home-library-cli-1.0.0-SNAPSHOT-jar-with-dependencies.jar test

Create a Folder

Save a file

List a Folder

Remove a file

Remove a folder

Option Properties

Release