Skip to content

halguru platform publish

Publish an AI Agent to the hal.guru platform. Usage:

halguru platform publish [options]

Options Default Description
--help, -h Prints help information
--agent-file, -a The YAML file defining the agent to be built.
--api-key, -k The API key to use for publishing the agent.
--api-url, -u If specified, the API URL to use for publishing the agent.
--pre-release, -p If specified, pre-release environments will be included in the publishing.
--verbose, -v Enables detailed output for debugging and troubleshooting purposes.

Summary#

PlatformPublishCommand is responsible for publishing an AI Agent to the hal.guru platform. It extends BaseAsyncCommand and encapsulates the settings and execution logic required for the command.

Option --help, -h#

Prints help information

Option --agent-file, -a#

The YAML file defining the agent to be built.

  • Type: String

Represents the path to the YAML file that defines the configuration of the agent.

When the file name is not defined, it is searched for a file with the extension *.halguru in the current directory.

Option --api-key, -k#

The API key to use for publishing the agent.

  • Type: String

The API key used for authenticating requests to the hal.guru platform.

This property allows the user to specify the API key required for connecting to the hal.guru platform. It should be provided if authentication is needed to access platform services or perform API operations. If not provided, the environment variable 'HalGuruApiKey' will be used.

Option --api-url, -u#

If specified, the API URL to use for publishing the agent.

  • Type: String

Represents the API URL used for publishing the agent. This property specifies the endpoint to which the agent data will be sent. If not provided, the default URL configuration is used.

If not provided, the environment variable 'HalGuruApiUrl' will be used. Otherwise, the default URL https://api.hal.guru will be used.

Option --pre-release, -p#

If specified, pre-release environments will be included in the publishing.

Indicates whether the platform check should include pre-release environments.

This property determines if pre-release versions of the platform should be considered during the execution of the platform check. When set to true, the operation will include pre-release environments for validation and status assessment. It is useful for testing or verifying changes in a staging or beta environment prior to a production release.

Option --verbose, -v#

Enables detailed output for debugging and troubleshooting purposes.

Specifies whether detailed output is enabled for debugging and troubleshooting purposes.

When set to true, additional information about the command execution process is displayed, which can be useful for diagnosing issues or understanding internal operations. By default, the value is false, indicating standard output only.


Last updated: 2025-10-13
Autogenerated: Yes
AI powered: Yes
Core version: 1.66.0