Benjamin-Loison / matrix-commander

simple but convenient CLI-based Matrix client app for sending and receiving
GNU General Public License v3.0
0 stars 0 forks source link

Having to move `credentials.json` and `store/` to make it work wherever we are is cumbersome #3

Open Benjamin-Loison opened 8 months ago

Benjamin-Loison commented 8 months ago

Note that this file and folder are created in current folder.

As if run in another directory than $HOME:

matrix-commander -m 'Test'
2024-01-14 02:28:46,876:    ERROR: matrix-commander: E153: Credentials file was not found. Provide credentials file or use --login to create a credentials file.
2024-01-14 02:28:46,876:     INFO: matrix-commander: 1 error and 0 warnings occurred.

If move credentials.json to .config/matrix-commander/, then get:

2024-01-14 02:30:52,360:    ERROR: matrix-commander: E154: Store directory was not found. Provide store directory or use --login to create a store directory.
2024-01-14 02:30:52,360:     INFO: matrix-commander: 1 error and 0 warnings occurred.