# metalcloud-cli os-template get-assets List all assets associated with an OS template ## Synopsis Display all assets associated with a specific OS template. This command retrieves and displays detailed information about all assets (files, scripts, configuration files, etc.) that are associated with an OS template. These assets are used during the deployment process. Required arguments: os_template_id The numeric ID of the template The output includes: - Asset ID (unique identifier) - Usage (build_source_image, build_component, etc.) - Filename and MIME type - File size - Creation timestamp Examples: ## List assets for template with ID 123 metalcloud-cli os-template get-assets 123 ## List assets using alias metalcloud-cli templates assets 456 ``` metalcloud-cli os-template get-assets [flags] ``` ### Options ``` -h, --help help for get-assets ``` ### Options inherited from parent commands ``` -k, --api_key string MetalCloud API key -c, --config string Config file path -d, --debug Set to enable debug logging -e, --endpoint string MetalCloud API endpoint -f, --format string Output format. Supported values are 'text','csv','md','json','yaml'. (default "text") -i, --insecure_skip_verify Set to allow insecure transport -l, --log_file string Log file path -v, --verbosity string Log level verbosity (default "INFO") ``` ### SEE ALSO * [metalcloud-cli os-template](/content/configuration/cli/metalcloud-cli_os-template.md) - Manage OS templates for server deployments #### Auto generated by spf13/cobra on 11-Aug-2025