Merge base structure with commands #1

Merged
jantytgat merged 18 commits from research into main 2026-03-25 07:51:20 +01:00
Owner
No description provided.
- Add commands and subcommands
- Add flags and global flags
- Parse flags
- Add application metadata to builder
- Add log-level global flag
- Add version as command
- Add help function

Signed-off-by: Jan Tytgat <hello@jantytgat.com>
Signed-off-by: Jan Tytgat <hello@jantytgat.com>
Signed-off-by: Jan Tytgat <hello@jantytgat.com>
- Move registry to separate file
- Add newRegistry() function
- Add preRunAll() function to registry
- Rename Close() to postRunAll() in registry
- Make Component non-exported
- Add NewComponent() function
- Add fluent functions to component
- Configure mutex on component
- Make command non-exported
- Make command fields non-exported
- Make all fields on component non-exported
- Define interface Component
- Make application registry accessible through Context
- Cleanup registry functions
Update demo app to use httpd component
jantytgat deleted branch research 2026-03-25 07:51:20 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
corelayer/go-kit!1
No description provided.