(state: StackState)
| 233 | return join(stateDir(), "cloudrun-state.json"); |
| 234 | } |
| 235 | function writeState(state: StackState): void { |
| 236 | mkdirSync(stateDir(), { recursive: true }); |
| 237 | writeFileSync(statePath(), JSON.stringify(state, null, 2)); |
| 238 | } |
| 239 | function readState(args: Record<string, unknown>): StackState { |
| 240 | const overrides = { |
| 241 | projectId: args.project as string | undefined, |