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

Flesh out workers subcommand #154

Open
in03 opened this issue Jun 3, 2022 · 0 comments
Open

Flesh out workers subcommand #154

in03 opened this issue Jun 3, 2022 · 0 comments

Comments

@in03
Copy link
Owner

in03 commented Jun 3, 2022

Let's add a command that allows us to run the worker compatibility check without actually queuing.
If we rework the commands and subcommands, etc, we can structure it like this:

rprox workers
(Always show compatibility breakdown,
show subcommand help if no further commands or options)

20 workers are compatible.
2 workers are incompatible and cannot be used by this version of Resolve Proxy Encoder.
To use them, update 'Editing Machine 1', 'Editing Machine 2' to '9f5aa99'.

Available subcommands:
- shutdown
- launch
- dashboard

And when all workers are compatible:

rprox workers

All 20 workers found are compatible.

Available subcommands:
- shutdown
- launch
- dashboard

Maybe even use this in other ways?

rprox workers shutdown --incompatible

Are you sure you want to shutdown these incompatible workers [y/n]?
- Editing Machine 1
- Editing Machine 2

y

Shutdown 2 incompatible workers.

Some others:

rprox workers launch 5
rprox workers launch 5 --dry-run
rprox workers shutdown all
rprox workers dashboard

@in03 in03 added this to the Improve CLI commands milestone Jun 3, 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

1 participant