Skip to main content

Interface: CliTool

Defined in: packages/extension-api/src/extension-api.d.ts:4616

Extends

Properties

displayName

displayName: string

Defined in: packages/extension-api/src/extension-api.d.ts:4633

Inherited from

CliToolInfo.displayName


extensionInfo

extensionInfo: object

Defined in: packages/extension-api/src/extension-api.d.ts:4637

id

id: string

label

label: string

Inherited from

CliToolInfo.extensionInfo


id

id: string

Defined in: packages/extension-api/src/extension-api.d.ts:4631

Inherited from

CliToolInfo.id


images

images: ProviderImages

Defined in: packages/extension-api/src/extension-api.d.ts:4635

Inherited from

CliToolInfo.images


markdownDescription

markdownDescription: string

Defined in: packages/extension-api/src/extension-api.d.ts:4634

Inherited from

CliToolInfo.markdownDescription


name

name: string

Defined in: packages/extension-api/src/extension-api.d.ts:4632

Inherited from

CliToolInfo.name


onDidUninstall

onDidUninstall: Event<void>

Defined in: packages/extension-api/src/extension-api.d.ts:4621


onDidUpdateVersion

onDidUpdateVersion: Event<string>

Defined in: packages/extension-api/src/extension-api.d.ts:4619


state

state: "registered"

Defined in: packages/extension-api/src/extension-api.d.ts:4617


version?

optional version: string

Defined in: packages/extension-api/src/extension-api.d.ts:4636

Inherited from

CliToolInfo.version

Methods

dispose()

dispose(): void

Defined in: packages/extension-api/src/extension-api.d.ts:103

Dispose this object.

Returns

void

Inherited from

Disposable.dispose


registerInstaller()

registerInstaller(installer): Disposable

Defined in: packages/extension-api/src/extension-api.d.ts:4627

Parameters

installer

CliToolInstaller

Returns

Disposable


registerUpdate()

registerUpdate(update): Disposable

Defined in: packages/extension-api/src/extension-api.d.ts:4624

Parameters

update

CliToolUpdate | CliToolSelectUpdate

Returns

Disposable


updateVersion()

updateVersion(version): void

Defined in: packages/extension-api/src/extension-api.d.ts:4618

Parameters

version

CliToolUpdateOptions

Returns

void