Skip to content

Command.Type

property · Command · cAlgo.API

DesktopCLICloud

Gets command type.

Environment behaviour

CLI — not supported. Available to plugins only, and plugins cannot run in the CLI.

Cloud — not supported. Available to plugins only, and plugins cannot run in the cloud.

Definition

CommandType Type {get;}
command.Type: CommandType

Returns CommandType

Examples

foreach (var command in Commands)
    Print("Command {0} type: {1}", command.Id, command.Type);
for command in api.Commands:
    api.Print(f"Command {command.Id} type: {command.Type}")