Skip to content

Commit 084a803

Browse files
committed
feat: add host option for start command
1 parent c0c37fc commit 084a803

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

bin/adviz.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ adviz
1818
.command('start')
1919
.usage('<argument> [options]')
2020
.argument('<name>', 'The name of the project to build.')
21+
.option('-h, --host [host]', 'Set the host listening on')
2122
.option('-p, --port [port]', 'Set the port listening on')
2223
.action((name, options) => {
2324
CommandManager.start(name, options, rootPath);

src/command-manager.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { spawn } from 'child_process';
22
import { env } from 'process';
3-
43
import AdmZip from 'adm-zip';
5-
64
import { readJsonFromVisual } from './utils.js';
75

86
const ngJson = readJsonFromVisual('angular.json');

0 commit comments

Comments
 (0)