Package org.syncany.cli
Class CommandLineClient
- java.lang.Object
-
- org.syncany.Client
-
- org.syncany.cli.CommandLineClient
-
public class CommandLineClient extends Client
The command line client implements a typical CLI. It represents the first entry point for the Syncany command line application and can be used to run all of the supported commands.The responsibilities of the command line client include the parsing and interpretation of global options (like log file, debugging), displaying of help pages, and executing commands. It furthermore detects if a local folder is handled by the daemon and, if so, passes the command to the daemon via REST.
-
-
Field Summary
-
Fields inherited from class org.syncany.Client
APPLICATION_PROPERTIES_DATE_FORMAT, APPLICATION_PROPERTIES_DATE_KEY, APPLICATION_PROPERTIES_RELEASE_KEY, APPLICATION_PROPERTIES_RESOURCE, APPLICATION_PROPERTIES_REVISION_KEY, APPLICATION_PROPERTIES_TEST_RESOURCE, APPLICATION_PROPERTIES_VERSION_FULL_KEY, APPLICATION_PROPERTIES_VERSION_KEY, applicationProperties
-
-
Constructor Summary
Constructors Constructor Description CommandLineClient(java.lang.String[] args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setOut(java.io.OutputStream out)
int
start()
-
Methods inherited from class org.syncany.Client
getApplicationDate, getApplicationProperties, getApplicationRevision, getApplicationVersion, getApplicationVersionFull, isApplicationRelease
-
-
-
-
Constructor Detail
-
CommandLineClient
public CommandLineClient(java.lang.String[] args)
-
-