Synopsis
Retrieves detailed information about a specific artifact or searches for artifacts by name in the Harness Artifact Registry.Arguments
Optional artifact name to search for. If not provided, lists all artifacts.
Options
Filter by registry name
Number of items per page
Page number (zero-indexed)
Output Format
The command displays artifact information in a table format with:- Artifact - Name of the artifact
- Version - Version number
- Package Type - Type of package
- Registry - Registry identifier
- Download Count - Download statistics
Examples
Search Behavior
When you provide an artifact name, the command performs a search operation:- Partial matches are supported
- Case-sensitive search
- Returns all versions matching the search term
Output Example
Use Cases
Find all versions of an artifact
Find all versions of an artifact
my-app available in the registry.Search across registries
Search across registries
--registry flag to search across all registries in your account.Verify artifact exists before pull
Verify artifact exists before pull
The search uses the artifact name as a search term. If no artifacts match, an empty result set is returned.
See Also
- hc artifact list - List all artifacts
- hc artifact pull - Pull artifacts
- hc artifact metadata get - Get artifact metadata