go-dev 0.1.0 → 0.1.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/go-dev +16 -0
- package/package.json +4 -1
package/bin/go-dev
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const Orchestrator = require('../src/orchestrator');
|
|
4
|
+
const path = require('path');
|
|
5
|
+
|
|
6
|
+
const presetName = process.argv[2];
|
|
7
|
+
const configPath = process.argv[3];
|
|
8
|
+
|
|
9
|
+
if (!presetName) {
|
|
10
|
+
console.error('Error: Please specify a preset to run. Usage: dev-orchestrator <preset_name> [config_path]');
|
|
11
|
+
process.exit(1);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const orchestrator = new Orchestrator(configPath);
|
|
15
|
+
|
|
16
|
+
orchestrator.start(presetName);
|