SYNOPSIS

Opens an AskUI Runner agent.

DESCRIPTION

The AskUI-OpenAgent cmdlet opens the specified AskUI Runner agent or workspace directory. Agents can be selected by WorkspaceID and AgentID.

PARAMETERS

  • -WorkspaceID | <String> - The WorkspaceID of the Agent to open.
  • -AgentID | <String> - The ID of the Agent to open. If not provided, the Workspace directory is opened.
  • -OpenCommand | <String> - The command to open the agent directory. If not provided, defaults to Visual Studio Code.

EXAMPLES

EXAMPLE 1

Opens the workspace directory for the specified workspace ID.

AskUI-OpenAgent -WorkspaceID "ws123"

EXAMPLE 2

Opens the specified agent in the workspace.

AskUI-OpenAgent -WorkspaceID "ws123" -AgentID "agent1"

EXAMPLE 3

Opens the specified agent using PyCharm.

AskUI-OpenAgent -WorkspaceID "ws123" -OpenCommand "pycharm"

EXAMPLE 4

Opens the specified agent using the provided command.

AskUI-OpenAgent  -OpenCommand "<PathToYourPreferredEditor>"