Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CommandItem

A command item.

Hierarchy

Index

Properties

Optional button

Settings for an optional button.

Optional description

description: string

A description for the command.

Optional forFile

forFile: boolean

Indicates if that command can be executed for a current or selected file or not.

Optional forFolder

forFolder: boolean

Indicates if that command can be executed for a current or selected folder or not.

Optional if

if: string

The JavaScript code that checks the avaibility.

Optional importValues

importValues: {}

Defines a list of properties, which uses (external) values for itself.

Type declaration

Optional name

name: string

The name for display.

Optional onCreated

onCreated: string

The (JavaScript) code to executed after object has been created.

Optional onDestroyed

onDestroyed: string

The (JavaScript) code to executed after object has been destroyed.

Optional options

options: any

Options for running the script.

Optional platforms

platforms: string[]

One or more platform names, the object is for.

script

script: string

The path to the script to invoke.

Optional state

state: any

Stores the initial state.

Generated using TypeDoc