-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.js
50 lines (45 loc) · 854 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
'use strict';
/**
* base class
*/
const App = require('./src/app');
const Command = require('./src/command');
const Workflow = require('./src/workflow');
const Configuration = require('./src/config');
/**
* utils
*/
const debug = require('./src/debug');
const printer = require('./src/printer');
const locales = require('./src/locales');
/**
* helper
*/
const str = require('./src/helper/str');
const fs = require('./src/helper/fs');
const obj = require('./src/helper/obj');
const cmd = require('./src/helper/cmd');
const is = require('./src/helper/is');
const convert = require('./src/helper/convert');
const helper = {
str,
fs,
obj,
cmd,
is,
convert
};
module.exports = {
App,
Command,
Workflow,
Configuration,
MODE: {
OPTIONAL: 'optional',
REQUIRED: 'required',
},
debug,
printer,
locales,
helper
};