[wip]
filing this bug so i won't forget, will come back to fill out more info / attempt a PR
pick = '${fid}.${slug}' => works as expected
pick = '${fid}.${slug}/solution' => "no file or directory exists"
will add strace logs later, my guess is that the templated dir is not created before trying to create the file under it.
also noticed by reading the source code that you can't repeat template variables, ex: pick = '${fid}.${slug}/${slug}'
config:
- arch linux
- installed via cargo install leetcode-cli
- using custom storage->root and storage->code in config
[wip]
filing this bug so i won't forget, will come back to fill out more info / attempt a PR
pick = '${fid}.${slug}' => works as expected
pick = '${fid}.${slug}/solution' => "no file or directory exists"
will add strace logs later, my guess is that the templated dir is not created before trying to create the file under it.
also noticed by reading the source code that you can't repeat template variables, ex: pick = '${fid}.${slug}/${slug}'
config: