Related to #161, we should consider simplifying the type parameters in CmdCtx, CmdCtxBuilder, Flow, etcetera.
Candidates for simplification:
number
naming / splitting, e.g. AppError vs FrameworkError
bounds
Candidates
An exploratory method for simplification is use one type parameter, with multiple associated types, and each associated type has different bounds.
We might not want O as a type parameter, and instead hold a Box<dyn OutputWrite> that delegates to a list of OutputWrites for writing output to screen and logging.
Related to #161, we should consider simplifying the type parameters in
CmdCtx
,CmdCtxBuilder
,Flow
, etcetera.Candidates for simplification:
AppError
vsFrameworkError
Candidates
O
as a type parameter, and instead hold aBox<dyn OutputWrite>
that delegates to a list ofOutputWrite
s for writing output to screen and logging.