We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3e9ed5 commit edbd2f5Copy full SHA for edbd2f5
src/util/initProject.ts
@@ -10,6 +10,10 @@ import * as path from 'path'
10
import fse from 'fs-extra'
11
import child_process from 'child_process'
12
13
+import * as chalk from 'chalk'
14
+
15
+import configure from '../configure'
16
17
18
export default function initProject(operands, typescript) {
19
console.log(`alita init ${typescript ? 'typescript': ''} ...`.info)
@@ -52,7 +56,8 @@ export default function initProject(operands, typescript) {
52
56
})
53
57
}
54
58
55
- console.log(' Run instructions for 小程序:'.blue)
- console.log(` • cd ${projectName}`.black)
- console.log(` • alita --dev (--dev 指定开发者模式)`.black)
59
+ console.log(`${chalk.blue(`Run instructions for ${chalk.bold('小程序')}`)}:
60
+ • alita --dev [--dev 指定开发模式].
61
+ • 微信开发者工具从 ${configure.outputFullpath} 导入项目
62
+`)
63
0 commit comments