List tenants

The tenant:list command allows you to list all tenants for a site.

ploi tenant:list

List tenants for a specific site:

ploi tenant:list --server=blue-ocean --site=example.com

Options

OptionDescription
--server=The server name or ID
--site=The site domain

If no tenants exist, you will be prompted to create one.

Tenants are useful for multi-tenant applications where each tenant has their own subdomain or domain.