File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -9,24 +9,26 @@ import Registry from './domain/registry';
9
9
import strings from '../resources' ;
10
10
import validateCommand from './validate-command' ;
11
11
12
+ import clean from './facade/clean' ;
12
13
import dev from './facade/dev' ;
13
14
import init from './facade/init' ;
14
15
import mock from './facade/mock' ;
15
16
import packageScript from './facade/package' ;
16
- import publish from './facade/publish' ;
17
17
import preview from './facade/preview' ;
18
+ import publish from './facade/publish' ;
18
19
import registry from './facade/registry' ;
19
20
import registryAdd from './facade/registry-add' ;
20
21
import registryLs from './facade/registry-ls' ;
21
22
import registryRemove from './facade/registry-remove' ;
22
23
23
24
const cliFunctions = {
25
+ clean,
24
26
dev,
25
27
init,
26
28
mock,
27
29
package : packageScript ,
28
- publish,
29
30
preview,
31
+ publish,
30
32
registry,
31
33
'registry-add' : registryAdd ,
32
34
'registry-ls' : registryLs ,
@@ -113,7 +115,8 @@ function processCommand(
113
115
return yargs ;
114
116
} ,
115
117
options => {
116
- facade ( options as any , ( error : unknown ) => {
118
+ // @ts -ignore Not callable
119
+ facade ( options , ( error : unknown ) => {
117
120
if ( error ) {
118
121
return process . exit ( 1 ) ;
119
122
}
You can’t perform that action at this time.
0 commit comments