wtree Cloud

Project commands

Create, list, update, duplicate and delete projects with the project group.

The project group manages projects. You must be authenticated.

CommandWhat it does
wtree-cloud-cli project allList all projects.
wtree-cloud-cli project one --projectId <id>Get information about a project.
wtree-cloud-cli project searchSearch projects, for example with --name or --q.
wtree-cloud-cli project create --name <name>Create a project. Accepts --description and --env.
wtree-cloud-cli project update --projectId <id>Update a project.
wtree-cloud-cli project duplicate --sourceEnvironmentId <id> --name <name>Duplicate an environment and its services into a new project, or into the same project with --duplicateInSameProject.
wtree-cloud-cli project remove --projectId <id>Delete a project.

Examples

# List all projects
wtree-cloud-cli project all

# Create a project
wtree-cloud-cli project create --name "my-project" --description "My first project"

# Get a project as JSON
wtree-cloud-cli project one --projectId abc123 --json

On this page