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 flags to prepend dates to Markdown filenames #59

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dge8
Copy link
Contributor

@dge8 dge8 commented Aug 30, 2021

A simple pair of flags to prepend exported note filenames with the created and/or modified dates (ISO format, YYYY-MM-DD, so they sort nicely in file managers).

Was useful for me, making the PR in case it's useful for others. However, a better long-term solution might be something like the proposal in Issue #58.

Cheers, Dan.

@wormi4ok
Copy link
Owner

Thanks for the contribution, @dge8!
I'm trying to keep the number of flags and configuration options to a minimum, and since the proposal in issue #58 covers many more use cases, I'd prefer to focus on that solution and not merge this one.

It will take time for me to work out the first proof of concept with the dynamic filenames. As well, it may require a new approach to the configuration. Multiple flags with complex template values seem to be hard to manage as CLI arguments.

So something like config files support might come up. Let me know if you have ideas on this topic!

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