Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Process Groups #117

Open
wyrmisis opened this issue Mar 4, 2024 · 1 comment
Open

Feature Request: Process Groups #117

wyrmisis opened this issue Mar 4, 2024 · 1 comment

Comments

@wyrmisis
Copy link

wyrmisis commented Mar 4, 2024

One of my main use cases for mprocs is running a dev environment for an app with multiple microservices and single-run scripts. Currently, I organize my processes by prefixing them (M for microservices, TOOL for scripts, etc).

I think it would be helpful to have subheadings under the process list under which processes with a matching group property in the config file are displayed. Something like...

┌─Processes────────────┐ ┌─Terminal───────────────────────┐
│Frontend              │ │                                │
│Backend               │ │                                │
│                      │ │                                │
│-- Microservices --   │ │                                │
│Microservice A     UP │ │                                │
│Microservice B     UP │ │                                │
│Microservice C     UP │ │                                │
│                      │ │                                │
│-- Scripts --         │ │                                │
│Some Script      DOWN │ │                                │
│Another Script   DOWN │ │                                │
│                      │ │                                │
│-- Applications --    │ │                                │
│Application A      UP │ │                                │
│Another App      DOWN │ │                                │
│                      │ │                                │
│                      │ │                                │
│                      │ │                                │
│                      │ │                                │
│                      │ │                                │
│                      │ │                                │
│                      │ │                                │
└──────────────────────┘ └────────────────────────────────┘
@legobeat
Copy link

legobeat commented Jun 4, 2024

I'm thinking it could look something like this in config

proc_groups:
  apps:
    label: '-- Applications --'
  services:
    label: '-- Microservices --'
  scripts:
    label: '-- Scripts --'
procs:
  'Microservice A':
    groups: ['services']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants