H
Hostess
CLI Commands

hostess projects

Create, list, and manage Hostess projects within your organizations.

Description

Manage Hostess projects within your organizations. A project corresponds to one hostess.yml configuration and contains all the services, deployments, environments, secrets, and domains for your application stack.


projects list

List all projects in an organization.

Usage

Terminal
hostess projects list [flags]

Flags

FlagTypeDefaultDescription
--orgstringCurrent organizationOrganization slug

Examples

Terminal
hostess projects list
Projects in 'my-org':

NAME              DESCRIPTION
───────────────────────────────────────────────────
my-app            E-commerce platform
blog              Company blog
internal-tools    Admin dashboards
Terminal
# List projects in a specific organization
hostess projects list --org other-org

projects create

Create a new project in an organization.

Usage

Terminal
hostess projects create <name> [flags]

Flags

FlagTypeDefaultDescription
--orgstringCurrent organizationOrganization slug
--descriptionstringProject description

Examples

Terminal
# Create a project in the current org
hostess projects create my-new-app
✓ Project 'my-new-app' created in organization 'my-org'
Terminal
# Create with a description
hostess projects create my-new-app --description "Next-gen e-commerce platform"

# Create in a specific organization
hostess projects create my-new-app --org other-org

You can also create projects during hostess deploy. In an interactive terminal, the CLI offers to create a new project when needed.


projects info

Display detailed information about a project.

Usage

Terminal
hostess projects info <name> [flags]

Flags

FlagTypeDefaultDescription
--orgstringCurrent organizationOrganization slug

Examples

Terminal
hostess projects info my-app
Project: my-app
ID: proj_abc123def456
Organization ID: org_xyz789
Description: E-commerce platform

projects update

Update a project's name or description.

Usage

Terminal
hostess projects update <name> [flags]

At least one of --name or --description is required.

Flags

FlagTypeDefaultDescription
--orgstringCurrent organizationOrganization slug
--namestringNew project name
--descriptionstringNew project description

Examples

Terminal
# Rename a project
hostess projects update my-app --name my-app-v2
✓ Project updated
  Name: my-app-v2
Terminal
# Update description
hostess projects update my-app --description "Updated platform"

# Update both
hostess projects update my-app --name new-name --description "New description"

projects delete

Permanently delete a project and all its resources.

Usage

Terminal
hostess projects delete <name> [flags]

Flags

FlagTypeDefaultDescription
--orgstringCurrent organizationOrganization slug
--forceboolfalseSkip confirmation prompt

Examples

Terminal
# Delete with confirmation
hostess projects delete old-project
Are you sure you want to delete project 'old-project'?
This will delete all environments, deployments, and cannot be undone.
Type 'yes' to confirm: yes
✓ Project 'old-project' deleted
Terminal
# Delete without confirmation
hostess projects delete old-project --force

Deleting a project permanently removes all environments, deployments, services, secrets, and domains associated with it.