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

(General) Expose file name template #106

Open
Synthoid opened this issue Feb 3, 2020 · 1 comment
Open

(General) Expose file name template #106

Synthoid opened this issue Feb 3, 2020 · 1 comment

Comments

@Synthoid
Copy link
Owner

Synthoid commented Feb 3, 2020

Add an option to override file naming with support for template keywords. For example:

_ Value
Sheet Test
Tab Sheet01
Name template %sheet%-%tab%

Would export a file named: Test-Sheet01

@Synthoid
Copy link
Owner Author

Synthoid commented Feb 3, 2020

Keywords would need to be flanked by special chars, likely %.

Possible keywords:

Sheet specific keys:

  • %sheet% - The sheet's name
  • %tab% - The tab's name
  • %format%- The current export format (JSON or XML)

General keys:

  • %date% - The current date
    • Variants like %date-day% or %date-time% could have more specific formatting
  • %user% - Username for the person running the export

File keys:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant