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

Add option to provide a template when exporting via the cli #208

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

volker-fr
Copy link
Contributor

Provide the option to provide a template when running slack-export-viewer-cli export.

The template example is based on combining templates/util.html, templates/export_single.html and static/viewer.css.

The css is always handed over, but not utilized in the example_template_single_export.html. This allows better integration of this change over having an additional feature flag just for the css -- that gets later embedded into the single file anyway.

```
┌— hamza@AURORAONE C:\Users\hamza
└———→ slack-export-viewer-cli clean
An example template can be found in the repositories [`slackviewer/templates/example_template_single_export.html`](https://github.com/hfaran/slack-export-viewer/tree/master/slackviewer/templates/example_template_single_export.html) file
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This link will work after the PR got merged.

@hfaran hfaran merged commit fca1f03 into hfaran:master Dec 31, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants