/
options.js
49 lines (48 loc) · 1.57 KB
/
options.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
'use strict';
module.exports = Object.freeze([
{ option: '-v, --version [version]', description: 'Version to use' },
{
option: '-k, --keep',
description: 'Use this flag to skip clearing the database on startup'
},
{
option: '-s, --shell',
description: 'Use this flag to automatically open up a MongoDB shell when the replica set is started'
},
{
option: '-q, --quiet',
description: 'Use this flag to suppress any output after starting'
},
{
option: '-m, --mongod [string]',
description: 'Skip downloading MongoDB and use this executable. If blank, just uses `mongod`. For instance, `run-rs --mongod` is equivalent to `run-rs --mongod mongod`'
},
{
option: '-n, --number [num]',
description: 'Number of mongods in the replica set. 3 by default.'
},
{
option: '-p, --portStart [num]',
description: 'Start binding mongods contiguously from this port. 27017 by default.'
},
{
option: '-d, --dbpath [string]',
description: 'Specify a path for mongod to use as a data directory. `./data` by default.'
},
{
option: '-h, --host [string]',
description: 'Override the default ip binding and bind mongodb to listen to other ip addresses. Bind to localhost or 127.0.0.1 by default'
},
{
option: '-l, --linux [string]',
description: 'Override the default system linux. Only for linux version. `ubuntu1604` by default'
},
{
option: '-p, --bind_ip_all',
description: 'Allow connections from remote servers, not just from localhost.'
},
{
option: '--help',
description: 'Output help'
}
]);