(receiptFilename: string)
| 84 | } |
| 85 | |
| 86 | export async function removeWithReceipt(receiptFilename: string) { |
| 87 | const receipt = parseReceiptFile(receiptFilename); |
| 88 | const { deploymentId } = receipt.deployment; |
| 89 | |
| 90 | // If the function throws, the CLI will fail with a non zero status code |
| 91 | await removeAirnode(deploymentId); |
| 92 | } |
| 93 | |
| 94 | export async function rollback(deploymentId: string, versionId: string, receiptFile: string, autoRemove: boolean) { |
| 95 | const spinner = logger.getSpinner(); |