-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add command methods #187
Add command methods #187
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks improving code structure. I left some comments
BTW, is the |
635356f
to
e1c4493
Compare
Signed-off-by: Javier Balloffet <[email protected]>
Signed-off-by: Javier Balloffet <[email protected]>
e1c4493
to
ceaa3c0
Compare
Yes, I will fix it in a subsequent PR so as to ease the review process. Thanks for checking! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
🎉 New feature
Related: #87
Summary
This PR adds callback methods for each CLI command as a stepping stone towards decoupling the main application logic from the shell and CLI business logic. It also removes some commands that may result in HW damage if wrongly used.
More PRs will be sent to keep improving the code structure.
Note: this PR is expected to be submitted after #186.
Test it
Tested by performing manual integration tests on the robot hardware.
Checklist
Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.