list
list projects
📁 Search for projects. Displays a list of projects that match the search criteria. Do not provide any search criteria to list all projects.
Without --page every project in the account is listed; --size caps the
list. --page N shows one page, of --size projects (at most 200) when
given.
--search keeps the projects whose name contains the term; with --page
it only searches that page.
Usage
csph projects list [flags]
Aliases
projects list, projects ls, project list, project ls
Options
Command Specific
Formatting
For more information about formatting options, see Formatting.
Available Fields
account_id, active, alert_emails_enabled, alert_enabled, created_at, created_by, deletion, deployment_count, description, id, last_opened_at, name, object, service_count, sphere_count, updated_at, user_id
Inherited
Examples
# start an interactive session to list projects
> csph project list
# start an interactive session to list projects but output as CSV
> csph project list --output csv
# list projects with a specific name
> csph project list --name umbrella
# list projects within a specific account
> csph project list --account <account-id>
# the second page of 50 projects
> csph project list --account <account-id> --page 2 --size 50
# projects whose name contains "api"
> csph project list --account <account-id> --search api
See also
- csph projects — manage projects
- csph projects get — get projects
- csph projects create — create projects
- csph projects update — update projects
- csph projects delete — delete projects
- csph projects use — set your default project