vmware-labs / marketplace-cli

A CLI for interacting with the VMware Marketplace
Other
11 stars 2 forks source link

During attach commands, check solution type matches the asset type #116

Closed petewall closed 2 years ago

petewall commented 2 years ago

Check the solution type before running the PUT. This would fail fast and prevent unnecessary file uploads.

Solution type Supported assets
Content pack Addon, Meta file
Management pack Addon, Meta file
Others Addon, Meta file
Plugin Addon, Meta file
Professional Services Addon, Meta file
Blueprint Blueprint, Meta file
Helmcharts Chart, Meta file
OVA VM, Meta file
ISO VM, Meta file
Container Image, Meta file
Carvel Image, Meta file
None None

The none case likely means the product has not attached any assets yet or have not published the initial version. Publishing the initial version is not supported by the CLI.