storage(lifecycle): use RegisterCLICommand pattern#855
Conversation
|
[SC-187336] |
8a6f696 to
52f758e
Compare
quentinalbertone
left a comment
There was a problem hiding this comment.
good idea ! Do you think that you can move the storage_bucket_lifecycle* into a subpackage ? You can find an example in the aiservices package
I've just signed off, 🚇-typing, but the idea is that we can drive the people using "AI" for external contributions with the AGENTS.md, (#856) file sitting now at the root of the repo. Ironically-speaking, I precisely gave the AI services as an example to develop rule for the LLM to grasp the structure / pattern, and it didn't pick it on its own 😂, I will further adjust the rules there so that next time it picks it up. Good catch anyway, thanks! |
Description
Rewrites the lifecycle commands to use the struct-based
RegisterCLICommandpattern, consistent with newer commands likecmd/aiservices/deployment/.Changes:
set,show,deleteconverted to typed structs withRegisterCLICommandChecklist
(For exoscale contributors)
CHANGELOG.md)Testing
Build and full test suite pass (
make build && make test-verbose). Lint clean.