Provides API endpoint related to v2 commands
Summary
Functions
List v2 commands
Types
@type v2_command_list_200_json_resp() :: %{ data: [OpenCode.Generated.CommandV2Info.t()], location: OpenCode.Generated.LocationInfo.t() }
Functions
@spec v2_command_list(opts :: keyword()) :: {:ok, v2_command_list_200_json_resp()} | {:error, OpenCode.Generated.InvalidRequestError.t() | OpenCode.Generated.UnauthorizedError.t()}
List v2 commands
Retrieve currently registered v2 commands.
Options
location