gsilvapt / pmz

PoorMenZettel
MIT License
7 stars 2 forks source link

Failed reading config file error #30

Closed AugustasV closed 2 years ago

AugustasV commented 2 years ago

I would like to use this tool, but getting Failed reading onfig file error


ERROR: 2022/01/12 21:12:20 /home/namai/go/pkg/mod/github.com/gsilvapt/pmz@v0.0.0-20211118182444-62441c11945a/internal/logs/logger.go:45: Failed reading config file: 
➜  bin pmz -v    
pmz version 0.3
➜  bin pmz update
ERROR: 2022/01/12 21:12:35 /home/namai/go/pkg/mod/github.com/gsilvapt/pmz@v0.0.0-20211118182444-62441c11945a/internal/logs/logger.go:45: Failed reading config file: ```
gsilvapt commented 2 years ago

Hello @AugustasV :wave:

Thank you so much for your interest in using pmz. Super excited to see others using this 🤩
I don't want to ask you to publish here you config for security reasons, but to have update command working you should have gitrepo, gituser and repotoken variables defined in your configuration file (Should be in ~/.pmz.yaml or if you change it to some other location you will need to specify it).

Let me know if you have those and they are valid. Maybe the issue is elsewhere.

Thanks again 🙇

AugustasV commented 2 years ago

Thank you, I didn't noticed .pmz.yaml example file

gsilvapt commented 2 years ago

Did it solve your problems, @AugustasV ? Do you need any further support? Again, thank you very much for using pmz. Excited to read your feedback! 😄

AugustasV commented 2 years ago

So far so good, but commit message all the time is updating your zettelkasten during pmz new --title test I was expecting that commit message would be different, or it would make commit message according to the title of README.md

gsilvapt commented 2 years ago

Hum, that is a valid feature, absolutely. I will try to find time to develop a feature to edit the commit message. Something like pmz save --message "<my message>", else it will default to that message. How does that look like?

AugustasV commented 2 years ago

Thank you, created an separate issue. #31 Closing this one.