Comparing version 0.7.0 to 0.7.1
import { Inputs } from './input-types'; | ||
import { AddShutdownTask, RemoveShutdownTask, Shutdown } from './shutdown'; | ||
export interface GlobalOptions extends Inputs.FlagData { | ||
@@ -33,5 +34,5 @@ help?: boolean; | ||
showVersion: () => Promise<void>; | ||
shutdown: (status?: number) => Promise<never>; | ||
addShutdownTask: (task: () => void | Promise<void>) => void; | ||
removeShutdownTask: (task: () => void | Promise<void>) => boolean; | ||
shutdown: Shutdown; | ||
addShutdownTask: AddShutdownTask; | ||
removeShutdownTask: RemoveShutdownTask; | ||
keepAlive: Promise<void>; | ||
@@ -38,0 +39,0 @@ } |
@@ -5,2 +5,2 @@ export * from './cli/create-command'; | ||
export * from './utils/logger'; | ||
export { exitAfterCleanup as shutdown, addCleanupListener as addShutdowntask, removeCleanupListener as removeShutdownTask, } from 'async-cleanup'; | ||
export * from './cli/shutdown'; |
{ | ||
"name": "flik", | ||
"description": "Build auto-documenting CLIs with an easy-to-use, declarative API.", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"author": "Ian Smith <hello@iks.codes>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
387129
16
689