()
| 111 | console.log(JSON.stringify({ stage: Resource.App.stage, ...result }, null, 2)) |
| 112 | |
| 113 | function createSecretKey() { |
| 114 | const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" |
| 115 | const values = new Uint32Array(64) |
| 116 | crypto.getRandomValues(values) |
| 117 | return `sk-${Array.from(values, (value) => chars[value % chars.length]).join("")}` |
| 118 | } |
| 119 | |
| 120 | function parseArgs(argv: string[]) { |
| 121 | const parsed = { |