-
Notifications
You must be signed in to change notification settings - Fork 312
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
Medplum Agent Commands exposed in CLI #3901
Comments
For each of these, consider an optional |
@ThatOneBro Got a proposal for you. What do you think? All commands can take in a list of agentIds or a criteria field, with
|
Yes you're right, should be first param
I believe this closely matches the TS API already,
This was my original thought too but I think we should keep In regards to |
Oh awesome! If they're already consistent, then all good
Yeah I had similar thoughts. using
The main nice thing about using "criteria" is that any script that uses the CLI command doesn't need to be updated when a new Agent is onboarded. So devops/CLI tooling can maintain a pretty stable command. Given that benefit, I think it's worth doing |
What would you think about always returning a Bundle, but just sometimes it only has one entry? |
Use Case
Some DevOps engineers primarily work with CLI tooling and shell scripts, rather than rest API calls.
To help them, we want to expose all the Agent maintenance commands as CLI commands. This will also help to integrate into monitoring tools such as BetterStack.
Proposal
The text was updated successfully, but these errors were encountered: