Conversation
Signed-off-by: Andrew Clayton <ac@sigsegv.uk>
There was a problem hiding this comment.
Pull request overview
This PR updates the CLI wiring for the “Individuals Losses” API to align with version 7.0 by renaming the CLI entrypoint from ilos to il and replacing the old command set with the new v7 endpoints.
Changes:
- Replaced the
ilosAPI mapping withilin the CLI’s API dispatch table. - Removed the legacy
ilosendpoint implementation and added a newilendpoint implementation withget/amend/delete. - Updated exported endpoint declarations and the README API list to reflect the new
ilname.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/mtd-cli.c | Switches the CLI API map entry from ilos to il. |
| src/mtd-cli-ilos.c | Removes the legacy Individuals Losses (pre-v7) command implementation. |
| src/mtd-cli-il.c | Adds the new Individuals Losses v7 command definitions (get/amend/delete). |
| src/endpoints.h | Updates the exported endpoint symbol from ilos_endpoint to il_endpoint. |
| README.rst | Updates the documented CLI API list to use il instead of ilos. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.