UNPKG

sicksync

Version:

Don’t accept the available as the preferable. Go extra mile with extra speed.

13 lines (9 loc) 726 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _remote = require('../remote'); function sicksyncRemoteCommand(program) { program.command('remote').description('Starts the remote process of sicksync. Must be ran on the remote machine.').option('-s, --secret <secret>', 'A secret used to only allow known subscribers (should match with your config).').option('-p, --port <port>', 'The port in which to listen for incoming sync messages (should match with your config).', parseInt).option('-e, --encrypt', 'Enable encryption on messages (should match with your config)').option('-d, --debug', 'Show debug messages').action(_remote.startRemote); } exports.default = sicksyncRemoteCommand;