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.txt plugin #31

Closed
traut opened this issue Jan 13, 2024 · 0 comments
Closed

Built-in data.txt plugin #31

traut opened this issue Jan 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@traut
Copy link
Member

traut commented Jan 13, 2024

Background

There should be a way to import existing static text, stored in a separate text file, into a template. This use case covers the use of existing signatures, disclaimers, footers, etc, in a template.

Design

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

Specification

  • the plugin has no configuration options
  • API interface:
    • required path string attribute that accepts a path to a file on a local filesystem.

Behavior

Using the provided path value, the plugin reads the file and returns its body as its result. The file should be treated as a text file.

Deliverables

  • new built-in data.txt plugin
  • the unit tests for the plugin
@traut traut added enhancement New feature or request plugins labels Jan 13, 2024
@traut traut added this to the v0.2 milestone Jan 13, 2024
@dobarx dobarx self-assigned this Jan 17, 2024
@traut traut closed this as completed Feb 3, 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

2 participants