()
| 27 | } |
| 28 | |
| 29 | function usage() { |
| 30 | return [ |
| 31 | 'Usage:', |
| 32 | ' node scripts/package-delivery.js <campaign-slug-or-path> [--pr <url>] [--note <text>]', |
| 33 | ' node scripts/package-delivery.js --campaign <campaign-slug-or-path>', |
| 34 | '', |
| 35 | 'Creates .planning/review-packages/<campaign>.md and records the package or PR in the campaign Exit Evidence table.', |
| 36 | ].join('\n'); |
| 37 | } |
| 38 | |
| 39 | function main() { |
| 40 | const args = parseArgs(process.argv.slice(2)); |