# options of pi-sync command
commands:
  -
    - '-w, --watch'
    - 'Watch files change and sync'
  -
    - '-H, --host <host>'
    - 'SSH host name of remote device'
  -
    - '-p, --port <port>'
    - 'SSH port number of remote device'
  -
    - '-a, --account <account>'
    - 'SSH account name of remote device'
  -
    - '-P, --pass <pass>'
    - 'SSH password of remote device'
  -
    - '-k, --key <key>'
    - 'Path to SSH private key'
  -
    - '-r, --remote <remote>'
    - 'Remote path, must be absolute path'
  -
    - '-s, --safe'
    - 'Use safe mode, if failed first time, try safe mode'
  -
    - '-i, --init'
    - 'Init `pi-sync.conf.yml`'


example: |
  '  Examples:'
  ''
  '    $ pi-sync --help'
  '    $ pi-sync -i -H pi@192.168.3.86:22 -r /home/pi/PROJECT'
  '    $ pi-sync -H pi@192.168.1.1:22 -k PATH/TO/KEY'
  '    $ pi-sync -H pi@192.168.1.1:22 -P raspberry'
  '    $ pi-sync -H 192.168.1.1 -p 22 -a pi -P raspberry'
  '    $ pi-sync -w -H pi@192.168.1.1:22 -P raspberry'
  '    $ pi-sync -w -H 192.168.1.1 # use pi@HOSTNAME:22, pw: raspberry by default'
  '    $ pi-sync -s -H 192.168.1.1 -r /home/pi/Documents/PROJECT'
