BREAKING: Déplacer config à cmd.app.Config et bump couleuvre #14

Merged
vlbeaudoin merged 3 commits from refactor/app-config into main 2023-12-04 21:32:39 -05:00
Owner
No description provided.
vlbeaudoin added 3 commits 2023-12-04 21:32:33 -05:00
`ContenuHandler` now only stores a `ContenuDir string` instead of a
whole config.

BREAKING: change `handlers.RunServer` parameters to `contenuDir string, serverPort int`
bump: couleuvre -> `v0.10.0`

Move `couleuvre.NewApp` to `cmd.init`

Make flags target `&cmd.app.Config`

Fix `ServerCmdExecuter`'s `RunServer` parameters

Fix call to `app.Parse` in `cmd.Execute`

BREAKING: Remove `cmd.Cfg()`
BREAKING: Remove `cmd.cfg config.Config`
vlbeaudoin merged commit 7c4e8d8227 into main 2023-12-04 21:32:39 -05:00
vlbeaudoin deleted branch refactor/app-config 2023-12-04 21:32:39 -05: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: agecem/babillard#14
No description provided.