Skip to content

Commit 1ceb595

Browse files
committed
feat: adds pastebin sending
1 parent a9ddafb commit 1ceb595

6 files changed

Lines changed: 1411 additions & 69 deletions

File tree

.bunli/commands.gen.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ const metadata: Record<GeneratedNames, GeneratedCommandMeta> = {
1919
name: 'test',
2020
description: 'Tests a video link and simulates start, seek and buffering.',
2121
options: {
22-
'link': { type: 'z.url.optional', required: false, hasDefault: false, description: 'Link to test', short: 'l', schema: {"type":"zod","method":"optional","args":[]}, validator: '(val) => true' }
22+
'link': { type: 'z.url.optional', required: false, hasDefault: false, description: 'Link to test', short: 'l', schema: {"type":"zod","method":"optional","args":[]}, validator: '(val) => true' },
23+
'skipTimings': { type: 'z.boolean.default', required: true, hasDefault: true, default: false, description: 'Skip network timing measurements', short: 'T', schema: {"type":"zod","method":"default","args":[{"type":"unknown","raw":{"type":"BooleanLiteral","start":1996,"end":2001,"loc":{"start":{"line":69,"column":44,"index":1996},"end":{"line":69,"column":49,"index":2001}},"value":false}}]}, validator: '(val) => true' },
24+
'skipSeek': { type: 'z.boolean.default', required: true, hasDefault: true, default: false, description: 'Skip random seek tests', short: 'S', schema: {"type":"zod","method":"default","args":[{"type":"unknown","raw":{"type":"BooleanLiteral","start":2156,"end":2161,"loc":{"start":{"line":74,"column":41,"index":2156},"end":{"line":74,"column":46,"index":2161}},"value":false}}]}, validator: '(val) => true' },
25+
'skipDownload': { type: 'z.boolean.default', required: true, hasDefault: true, default: false, description: 'Skip single- and multi-connection download tests', short: 'D', schema: {"type":"zod","method":"default","args":[{"type":"unknown","raw":{"type":"BooleanLiteral","start":2310,"end":2315,"loc":{"start":{"line":79,"column":45,"index":2310},"end":{"line":79,"column":50,"index":2315}},"value":false}}]}, validator: '(val) => true' }
2326
},
2427
path: './src/commands/test'
2528
}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ By default `test` runs every phase. Pass any of these to skip a phase:
6262
| `--skip-timings` | `-T` | DNS / TCP / TLS / TTFB measurement and the **Network Timings** table |
6363
| `--skip-seek` | `-S` | Random seek probes and the **Seek Results** table |
6464
| `--skip-download` | `-D` | Single- and multi-connection downloads and the **Download Comparison** table |
65+
| `--skip-pastebin` | `-P` | Uploading results to PrivateBin and printing the **Results URL** |
6566

6667
Link information is always printed.
6768

0 commit comments

Comments
 (0)