Skip to content

Expose internals for external usage #459

@yeikel

Description

@yeikel

I was exploring the possibility of using dependabot/cli as a library within my own project, but ran into a roadblock: all the relevant packages are marked as internal, which prevents external usage.

Example error:

[dependabot/cli](main.go:4:2: use of internal package github.com/dependabot/cli/cmd/dependabot/internal/cmd not allowed)

Would it be possible to consider moving some of the core logic out of the internal package?

I understand there may be reservations about exposing these components more broadly, but I'm not sure if that would necessarily be a negative. It could potentially enable more flexibility and community contributions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions