[cli] Expose configuration API to allow embedding in other Golang projects #2555
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
Milestone
Uh oh!
There was an error while loading. Please reload this page.
The package
configuration
, currently internal, should be exported as public API in some way to allow embedding the CLI into golang projects. Theconfiguration
package contains a singleton configuration shared among all the instances created.A possible solution may be to allow pushing an initial configuration from the
Init
command and keep a different configuration for each instance. In this case, theSettings*
API must be changed to operate on a given instance (currently they act on the global configuration).The text was updated successfully, but these errors were encountered: