Class 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.

    • Method Detail

      • setOut

        public void setOut​(java.io.OutputStream out)
      • start

        public int start()
                  throws java.lang.Exception
        Throws:
        java.lang.Exception