Skip to content

refactor(buildinfo): Clean up API surface

Arne Beer requested to merge refactor/buildinfo-api-surface into main

Before this commit, the functions called by the binary were at the top level of the library.

Those functions however are highly related to the cli module and executable logic. They should be hidden as well as possible for the library consumer, as this isn't how they'll interact with this.

In the long run, we should think about a feature flag to completely remove the cli and commands functions, so that library users don't have to pull the clap dependency.

Signed-off-by: Arne Beer contact@arne.beer

Merge request reports

Loading