spaces - Cloud Foundry CLI Reference Guide


NAME

spaces - List all spaces in an org

SYNTAXE

cf spaces [--labels SELECTOR]

EXAMPLES

cf spaces cf spaces --labels 'environment in (production,staging),tier in (backend)' cf spaces --labels 'env=dev,!chargeback-code,tier in (backend,worker)'

OPTIONS

--labels

Selector to filter spaces by labels

SEE ALSO

create-space, set-space-role, space, space-users