create-walle 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/create-walle.js +8 -7
- package/package.json +1 -1
package/bin/create-walle.js
CHANGED
|
@@ -153,18 +153,19 @@ function install(targetDir) {
|
|
|
153
153
|
|
|
154
154
|
saveWalleDir(path.resolve(targetDir));
|
|
155
155
|
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
// Start the service
|
|
157
|
+
console.log(` Starting Wall-E...`);
|
|
158
|
+
startForegroundOrService(path.resolve(targetDir), port);
|
|
158
159
|
|
|
159
|
-
|
|
160
|
-
|
|
160
|
+
console.log(`
|
|
161
|
+
${GREEN}${BOLD}Wall-E is running!${RESET}
|
|
161
162
|
|
|
162
|
-
${BOLD}
|
|
163
|
+
${BOLD}Open:${RESET} http://localhost:${port}
|
|
163
164
|
|
|
164
|
-
${BOLD}
|
|
165
|
+
${BOLD}Commands:${RESET}
|
|
165
166
|
npx create-walle update ${DIM}Update to latest version${RESET}
|
|
166
|
-
npx create-walle start ${DIM}Start as background service${RESET}
|
|
167
167
|
npx create-walle stop ${DIM}Stop the service${RESET}
|
|
168
|
+
npx create-walle start ${DIM}Restart${RESET}
|
|
168
169
|
npx create-walle status ${DIM}Check status${RESET}
|
|
169
170
|
npx create-walle logs ${DIM}View logs${RESET}
|
|
170
171
|
`);
|