repoburg 0.1.16 → 0.1.18
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/package.json
CHANGED
package/platform-cli.js
CHANGED
|
@@ -79,7 +79,8 @@ program
|
|
|
79
79
|
program
|
|
80
80
|
.command('start [projectPath]')
|
|
81
81
|
.description('Start a new repoburg-backend instance for a project.')
|
|
82
|
-
.
|
|
82
|
+
.option('-v, --verbose', 'Enable verbose logging for the backend service')
|
|
83
|
+
.action(async (projectPath, options) => {
|
|
83
84
|
const { default: chalk } = await import('chalk');
|
|
84
85
|
const { default: open } = await import('open');
|
|
85
86
|
|
|
@@ -176,7 +177,7 @@ program
|
|
|
176
177
|
// 4. Start the service
|
|
177
178
|
console.log(chalk.cyan('Starting backend service...'));
|
|
178
179
|
const targetPath = path.resolve(projectPath || '.');
|
|
179
|
-
const startResponse = await axios.post(`${DAEMON_BASE_URL}/services/start`, { path: targetPath });
|
|
180
|
+
const startResponse = await axios.post(`${DAEMON_BASE_URL}/services/start`, { path: targetPath, verbose: options.verbose });
|
|
180
181
|
const service = startResponse.data;
|
|
181
182
|
console.log(chalk.green(`✓ Repoburg backend for '${service.name}' started on port ${service.port}.`));
|
|
182
183
|
|
|
Binary file
|
|
Binary file
|