making Torch more Goose friendly

This commit is contained in:
thePR0M3TH3AN committed 2026-02-15 14:27:11 -05:00
1 parent f279e9ae95
commit c20af61643
6 files changed
+52 -11

No files matched your search

+11
View File
@@ -11,6 +11,9 @@ export function parseArgs(argv) {
command: null,
agent: null,
cadence: null,
json: false,
jsonFile: null,
quiet: false,
dryRun: false,
force: false,
port: DEFAULT_DASHBOARD_PORT,
@@ -42,6 +45,14 @@ export function parseArgs(argv) {
args.agent = argv[++i];
} else if (arg === '--cadence' || arg === '-c') {
args.cadence = argv[++i];
} else if (arg === '--json') {
args.json = true;
} else if (arg === '--json-file') {
args.jsonFile = argv[++i];
} else if (arg.startsWith('--json-file=')) {
args.jsonFile = arg.split('=')[1];
} else if (arg === '--quiet') {
args.quiet = true;
} else if (arg.startsWith('--agent=')) {
args.agent = arg.split('=')[1];
} else if (arg.startsWith('--cadence=')) {