mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-30 17:31:54 +00:00
making Torch more Goose friendly
This commit is contained in:
1 parent
f279e9ae95
commit
c20af61643
6 files changed
+52
-11
No files matched your search
@@ -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=')) {
|
||||
|
||||
Reference in new issue
Block a user