Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Built-in data.json plugin #13

Closed
traut opened this issue Dec 25, 2023 · 1 comment
Closed

Built-in data.json plugin #13

traut opened this issue Dec 25, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@traut
Copy link
Member

traut commented Dec 25, 2023

Background

In addition to the installable plugins (#3), fabric must have built-in plugins to allow generation of simple content without the need to download extra components.

Related: #15, #18

Design

data.json plugin should be a part of the fabric binary.

Specification

  • the plugin has no configuration options
  • API interface:
    • required glob string attribute, that with a path glob against local FS

Behavior

Using the provided glob value, the plugin reads all matching files and returns a list of items, where each item is a content of the matching file (json-deserialized). If there are no files matching the provided glob, return an empty list.

Deliverables

  • new built-in data.json plugin
  • unit test for the plugin
@traut traut added plugins enhancement New feature or request labels Dec 25, 2023
@traut traut changed the title Built-in plugins Built-in data.json plugin Dec 30, 2023
@traut traut added this to the v0.1 milestone Dec 30, 2023
@dobarx dobarx mentioned this issue Jan 12, 2024
@traut
Copy link
Member Author

traut commented Jan 17, 2024

implemented in #30

@traut traut closed this as completed Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant