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

Support multiple preconfigured environments #15

Closed
BrodieRobertson opened this issue May 30, 2022 · 1 comment
Closed

Support multiple preconfigured environments #15

BrodieRobertson opened this issue May 30, 2022 · 1 comment

Comments

@BrodieRobertson
Copy link

BrodieRobertson commented May 30, 2022

When running mprocs it will load the set of programs in your config file, what I'd love to see is being able to define multiple environments.

So I could do something such as
mprocs x - which would load one set of programs
mprocs y - which would load another set
Etc until you've created all you need

Obviously this can be done when launching mprocs by listing out mprocs with programs to launch but having this in the config would streamline the process. It can also be done by changing you current directory and just having mprocs configs floating around your file system but that seems like a bizarre way to handle it.

@pvolok
Copy link
Owner

pvolok commented May 30, 2022

You can already do it by supplying the --config/-c argument:
mprocs - will use mprocs.yaml by default
mprocs -c mprocs-x.yaml - will use mprocs-x.yaml from current directory

@pvolok pvolok closed this as completed Jun 1, 2022
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