Skip to content

add service list command to enumerate services in a project #817

@yigitkonur

Description

@yigitkonur

problem

there's no cli command to list all services in a project. railway service only links to an existing service interactively. to see what services exist, you need the dashboard or raw graphql.

real-world scenario

writing a cleanup script that finds and removes orphaned services. or building a status dashboard that checks all services. or simply answering "what services are running in this project?" from the terminal.

proposed solution

railway service list                           # list all services
railway service list --json                    # json output for scripting
railway service list --json | jq '.[].name'    # pipe-friendly

output should include: service id, name, status, image/repo source, domain.

related

  • railway deployment list exists for deployments
  • railway volume list exists for volumes
  • railway variable list exists for variables
  • service list is the missing piece in the pattern

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions