File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11'use strict' ;
22
3+ // 测试使用
4+
35const { yParser } = require ( '@micro-app/shared-utils' ) ;
46const name = process . argv [ 2 ] ;
57const argv = yParser ( process . argv . slice ( 3 ) ) ;
Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ const MethodServiceKeys = [
3838 'tempDir' ,
3939 'getTempDirPackageGraph' ,
4040 'microsPackages' ,
41+ 'writeTempFileSync' ,
42+ 'writeTempFile' ,
4143] ;
4244
4345// 关于注册的方法
Original file line number Diff line number Diff line change @@ -75,13 +75,13 @@ Examples:
7575 } ) ;
7676 } ) ;
7777
78- // type
79- chain = chain . then ( ( ) => {
80- return prompt . input ( 'Enter Type:' ) . then ( answer => {
81- const type = answer . trim ( ) ;
82- info . type = type ;
83- } ) ;
84- } ) ;
78+ // type (不让用户输入,可忽略)
79+ // chain = chain.then(() => {
80+ // return prompt.input('Enter Type:').then(answer => {
81+ // const type = answer.trim();
82+ // info.type = type;
83+ // });
84+ // });
8585
8686 // others
8787 chain = chain . then ( ( ) => {
You can’t perform that action at this time.
0 commit comments