Skip to content

[CLI] Use a custom Repository base class #2149

@bajtos

Description

@bajtos

Application developers invoking lb4 repository should be able to specify a custom Repository class to inherit from. This repository can be defined in a 3rd-party extension or inside the application project.

At minimum, the CLI should accept custom class name (+ import path?):

  • via an interactive prompt
  • via CLI options
  • via JSON config

Even better, there should be a mechanism allowing extensions (npm packages) and applications to define custom Repository implementations in such way that lb4 repository can pick them and create a list of available repositories for the CLI user to pick from.

See also #2095 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions