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

cli: rpc commands for reboot/poweroff and set datetime #81

Merged
merged 2 commits into from
Aug 6, 2023
Merged

Conversation

troglobit
Copy link
Contributor

This patch set adds RPC commands to the CLI. A generic function for RPCs is added, along with commands for reboot and poweroff, that replace the existing ones. A set datetime command is also added, along with a show datetime that display output in the same format as the set command requires.

This change allows us to verify common RPC commands from within the
CLI, starting with the poweroff and reboot commands.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
@troglobit troglobit added the enhancement New feature or request label Jul 5, 2023
@troglobit troglobit added this to the Infix v23.07 milestone Jul 5, 2023
@troglobit troglobit requested a review from wkz July 5, 2023 23:20
@wkz wkz merged commit db813bd into main Aug 6, 2023
2 checks passed
@wkz wkz deleted the cli-rpc-commands branch August 6, 2023 21:59
@troglobit troglobit modified the milestones: Infix v23.07, Infix v23.08 Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants