muster group
Combine local and remote projects into a group, then deploy them together, in order.
Synopsis
Terminal
muster group [command]
muster deploy fleet <group> # shortcut for: muster group deploy <group>Description
A fleet is one project deployed to many servers; a group is many projects deployed as one. Groups are stored with the fleet config in ~/.muster/fleets/ on this machine (a legacy ~/.muster/groups.json is migrated). Each project can use SSH or the cloud transport.
Subcommands
| Subcommand | Description |
|---|---|
(none) | Interactive group manager. |
list | List all groups. |
create <name> | Create a group. |
delete <name> | Delete a group. |
add <group> [target] | Add a project to a group. |
remove <group> | Remove a project from a group. |
rename <group> <name> | Rename a group. |
edit <group> <idx> | Edit a remote project's connection settings. |
reorder <group> | Reorder projects interactively. |
deploy <group> | Deploy every project in a group. |
status <group> | Health of every project in a group. |
Flags
group add
| Flag | Description |
|---|---|
--port, -p N | SSH port (default 22). |
--key, -k FILE | SSH identity file. |
--path DIR | Project directory on the remote. |
--cloud | Route through the cloud tunnel instead of SSH. |
--auth METHOD | key (default), password or agent. |
--auth-mode MODE | Password handling: save, session or always. |
group deploy
| Flag | Description |
|---|---|
--dry-run | Preview the deploy plan without executing. |
--json | Output as JSON. |
group edit
| Flag | Description |
|---|---|
--host, --user, --port, --key, --path | Change connection details. |
--cloud / --no-cloud | Toggle cloud transport. |
--auth, --auth-mode | Change auth settings. |
Examples
Terminal
muster group create prod
muster group add prod /path/to/project # local
muster group add prod [email protected] --path /opt/app # SSH key
muster group add prod [email protected] --auth password # SSH password
muster group add prod agent-name --cloud --path /opt/app # Fleet Cloud
muster group deploy prodExit codes and JSON
group list --json and group status <group> --json need a read token.