-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.js
26 lines (24 loc) · 944 Bytes
/
index.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
/**
* Copyright (c) 2018, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or
* https://opensource.org/licenses/BSD-3-Clause
*/
/**
* index.js
*
* Main module for the refocus-collector.
*/
'use strict'; // eslint-disable-line strict
const logger = require('winston');
/* Allow the commands to be run directly for testing. */
module.exports = {
start: () => require('./src/commands/refocus-collector-start'),
stop: () => require('./src/commands/refocus-collector-stop'),
pause: () => require('./src/commands/refocus-collector-pause'),
resume: () => require('./src/commands/refocus-collector-resume'),
status: () => require('./src/commands/refocus-collector-status'),
reregister: () => require('./src/commands/refocus-collector-reregister'),
deregister: () => require('./src/commands/refocus-collector-deregister'),
};