Comparing version 0.6.0 to 0.6.1
@@ -1,2 +0,1 @@ | ||
import { addCleanupListener, removeCleanupListener } from 'async-cleanup'; | ||
import { Inputs } from './input-types'; | ||
@@ -35,4 +34,5 @@ export interface GlobalOptions extends Inputs.FlagData { | ||
shutdown: (status?: number) => Promise<never>; | ||
addShutdownTask: typeof addCleanupListener; | ||
removeShutdownTask: typeof removeCleanupListener; | ||
addShutdownTask: (task: () => void | Promise<void>) => void; | ||
removeShutdownTask: (task: () => void | Promise<void>) => boolean; | ||
keepAlive: Promise<void>; | ||
} | ||
@@ -39,0 +39,0 @@ export type CommandExecutor<TFlags extends Inputs.FlagCollection = Inputs.FlagCollection, TPositionalArgs extends Inputs.PositionalArgCollection = Inputs.PositionalArgCollection> = (ctx: CommandExecutorContext<TFlags, TPositionalArgs>) => void | Promise<void>; |
{ | ||
"name": "flik", | ||
"description": "Build auto-documenting CLIs with an easy-to-use, declarative API.", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"author": "Ian Smith <hello@iks.codes>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -83,2 +83,3 @@ # `flik` | ||
```ts | ||
TODO | ||
``` | ||
@@ -85,0 +86,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
111
385066