feat(cli): set outputDir via cli options (#338)

This commit is contained in:
おがどら
2025-05-04 12:11:17 +09:00
committed by GitHub
parent 200cf737bb
commit 5df011ad4b
4 changed files with 26 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ program
.option('--port <port>', 'Port to listen on for SSE transport.')
.option('--host <host>', 'Host to bind server to. Default is localhost. Use 0.0.0.0 to bind to all interfaces.')
.option('--vision', 'Run server that uses screenshots (Aria snapshots are used by default)')
.option('--output-dir <path>', 'Path to the directory for output files.')
.option('--config <path>', 'Path to the configuration file.')
.action(async options => {
const config = await resolveConfig(options);