(name: string)
| 360 | } |
| 361 | |
| 362 | export async function deleteCommand(name: string): Promise<void> { |
| 363 | const config = await getConfig(); |
| 364 | if (config.command) { |
| 365 | const { [name]: removed, ...rest } = config.command; |
| 366 | await saveConfig({ ...config, command: rest }); |
| 367 | } |
| 368 | } |
| 369 | |
| 370 | export interface BackupData { |
| 371 | version: number; |
no test coverage detected