Skip to content

Command.Id

property · Command · cAlgo.API

DesktopCLICloud

Gets command unique Id.

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

Guid Id {get;}
command.Id: Guid

Returns Guid

Examples

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