defenseunicorns / uds-cli

GNU Affero General Public License v3.0
26 stars 11 forks source link

New dev deploy flag to select packages to exclude from deploy #946

Open jacobbmay opened 1 month ago

jacobbmay commented 1 month ago

Is your feature request related to a problem? Please describe

Currently there is already the -p flag that lets you select specific packages in a bundle to deploy. This is great when you want to test deploying a specific package or a few packages from the bundle. However there is currently no flag to do the inverse of that. During development there are times when I want to deploy a whole bundle except for 1 or 2 packages. Currently this requires using the -p flag and listing every other package in the bundle I don't want to exclude.

Describe the solution you'd like

Additional context

This is primarily an improvement for bundle developer experience so I am fine with this new option only being added to the dev deploy command instead of the regular deploy command to keep things simple for end users consuming bundle artifacts.