Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GlobalCommandScriptArguments

Arguments for a global command script.

Hierarchy

Index

Properties

arguments

arguments: any[]

The argument that have been submitted to the command.

command

command: string

The ID of the command.

extension

extension: ExtensionContext

The underlying extension (context).

globalState

globalState: KeyValuePairs

Gets the global state object.

globalStore

globalStore: Store

The global store.

globals

globals: any
inheritdoc

logger

logger: Logger

The logger.

options

options: any

Options for running the script.

output

output: OutputChannel

The output channel.

replaceValues

replaceValues: function

Handles a value as string and replaces placeholders.

param

The input value.

returns

The output value.

Type declaration

    • (val: any): string
    • Parameters

      • val: any

      Returns string

require

require: function

Imports a module from the extension's context.

param

The ID of the module.

returns

The module.

Type declaration

    • (id: string): any
    • Parameters

      • id: string

      Returns any

source

The source.

state

state: any

Provides a property to save data permanently while the current (extension) session.

store

store: Store

The user store for the underlying script.

Generated using TypeDoc