legacy-cli icon indicating copy to clipboard operation
legacy-cli copied to clipboard

Fleets

Open xtfer opened this issue 6 years ago • 0 comments

This adds new commands for managing a Fleet of projects, which can then be piped into the multi command.

A Fleet is currently a named key in a file .platform/fleets.yaml, which contains a project key containing an array of project IDs. This can be edited manually or by using the following CLI commands:

  • fleet:list: List all fleets and their projects
  • fleet:add: Add a new fleet
  • fleet:remove: Remove a fleet
  • fleet:project-add: Add a project ID to a fleet
  • fleet:project-remove: Remove a project ID from a fleet

This PR combines work @Kazanir did on the multi command with a Fleet service class and commands.

xtfer avatar Apr 02 '19 12:04 xtfer