-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Description:
The current main bootstrap logic has grown into a place where wiring, config loading, dependency creation, and command registration are mixed together. This makes it harder to maintain and reason about.
Goals:
- Reduce responsibility in main.
- Make command bootstrapping easier to follow and test.
- Separate config discovery/loading, dependency construction, and Cobra setup more clearly.
Proposed scope:
- Extract bootstrap/setup logic from main into smaller functions or dedicated package helpers.
- Make dependency initialization more explicit.
- Reduce duplication around config/client creation.
- Preserve existing CLI behavior.
Acceptance criteria:
- main is reduced to a small orchestration entry point.
- Bootstrap responsibilities are split into clearly named helpers.
- Existing commands and flags continue to behave exactly as before.
- Tests remain green or are updated where necessary.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request