NayamAmarshe / please

🙏 Please CLI - Minimalistic New Tab Page CLI Tool with a greeting, date and time, inspirational quotes and your personal tasks and to-do list
MIT License
582 stars 26 forks source link

Error config file path in WSL #51

Open quoidautre opened 1 year ago

quoidautre commented 1 year ago

Hi, When I launch please command, I've thsi error :

Something's wrong with your config file. You can fix ~/.config/please/config.json file manually or you can enter your name again in the setup wizard to reset the config file.  
ENTERING NAME WILL OVERWRITE YOUR PREVIOUS CONFIG.

The config.json is empty, and I have create it (rw-rw-rw)

So, I try to setup :

$ please setup
Something's wrong with your config file. You can fix ~/.config/please/config.json file manually or you can enter your name again in the setup wizard to reset the config file.  
ENTERING NAME WILL OVERWRITE YOUR PREVIOUS CONFIG.
Usage: please [OPTIONS]
Try 'please --help' for help.

Error: Got unexpected extra argument (setup)

Thanks F.

Solweigdev commented 1 year ago

You just need to write in your terminal

$ please

After this, you show this

$ Something's wrong with your config file. You can fix                            
~/.config/please/config.json file manually or you can enter your name again in  
the setup wizard to reset the config file. ENTERING NAME WILL OVERWRITE YOUR    
PREVIOUS CONFIG.                                                                
Hello! What can I call you?: <ENTER YOUR NAME>

Enter your name and after this, 'please' is configurate.

quoidautre commented 1 year ago

Hi,

Thanks a lot, it's working fine.

Regards, F.