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

Pass variables to documents #78

Closed
mpastell opened this issue Dec 25, 2016 · 1 comment
Closed

Pass variables to documents #78

mpastell opened this issue Dec 25, 2016 · 1 comment

Comments

@mpastell
Copy link
Collaborator

mpastell commented Dec 25, 2016

It would be useful to be able to pass data to documents to produce reports e.g. for different files, dates etc. using the same code. Initial idea:

  1. Add args option for weave that accepts a dictionary
  2. Expose passed dictionary as WEAVE_ARGS variable for the document
@mpastell mpastell mentioned this issue Dec 25, 2016
3 tasks
@mpastell mpastell changed the title Pass variables to templates Pass variables to documents Dec 26, 2016
mpastell added a commit that referenced this issue Dec 26, 2016
@mpastell
Copy link
Collaborator Author

Initial implementation seems to work, needs tests and documentation.

mpastell added a commit that referenced this issue Dec 29, 2016
@mpastell mpastell closed this as completed Mar 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant