Add config setting for memo filepath format
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Go
- Stars
- 1k
- Forks
- 80
- PR merge metrics
- No merged PRs in 30d
Description
Please allow to configure the memos filename format, and support creation of subdirectories.
For example, create directories for 'year-month/' and filename with 'day-slug.md':
filefmt = "%Y-%m/%d-${SLUG}.md"
💬 Notice the
/in format.
Example of current default:
filefmt = "%Y-%m-%d-${SLUG}.md"
I keep my memos in this fashion:
├── 2016-10
│ └── 22-ipsum.md
├── 2016-12
│ ├── 11-foo-bar.md
│ ├── 13-bar-baz.md
│ └── 19-lorem.md
├── 2017-01
│ └── 05-foo.md
└── index.md
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Trace the configuration handling and memo filepath creation first, then verify that the default format remains unchanged while a format such as "%Y-%m/%d-${SLUG}.md" creates the required subdirectories and filename.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100