Github user garrensmith commented on a diff in the pull request: https://github.com/apache/couchdb-nmo/pull/11#discussion_r44916219 --- Diff: src/replicate-to.js --- @@ -0,0 +1,49 @@ +import nmo from './nmo.js'; +import Promise from 'bluebird'; +import { getUrlFromCluster } from './utils'; +import {replicate, createReplicatorDoc } from './replicate'; + + +export function cli (cluster, dbname, url) { + return new Promise((resolve, reject) => { + if (!cluster) { + const msg = [ + 'Usage:', + '', + 'nmo replicate-to <cluster> <databasename> <url/dbname> [--continuous] [--create-target] [--json]', + 'nmo replicate-to <url> <databasename> <url/dbname> [--continuous] [--create-target] [--json]', + ].join('\n'); --- End diff -- Yes good point.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---