@vltpkg/cli-sdk
Type Aliases
Command<T>
type Command<T> = object
Defined in: src/cli-sdk/src/index.ts:19
Type Parameters
• T
Type declaration
command
command: CommandFn<T>
usage
usage: CommandUsage
views
views: Views<T>
CommandFn()<T>
type CommandFn<T> = (conf) => Promise<T>
Defined in: src/cli-sdk/src/index.ts:15
A command function that may return a result of T
. If the result is
undefined
, no final output will be displayed by default.
Type Parameters
• T = unknown
Parameters
conf
Returns
Promise
<T
>
CommandUsage()
type CommandUsage = () => Jack
Defined in: src/cli-sdk/src/index.ts:9
Returns
Jack
Functions
default()
function default(): Promise<void>
Defined in: src/cli-sdk/src/index.ts:47
Returns
Promise
<void
>