vysheng / tg

telegram-cli
GNU General Public License v2.0
6.5k stars 1.54k forks source link

Can i specify config path? #1636

Closed cs-usst closed 4 years ago

cs-usst commented 4 years ago

Can i specify a custom path for configuration?

Paulchen232 commented 4 years ago

Look there: pi@raspberrypi:~/.telegram-cli $ cat config

wait-dialog-list = true;

profil1 = {config_directory = ".telegram-cli/1"; msg_num = true; wait-dialog-list = true; };

Paulchen232 commented 4 years ago

For that path use the the argument -p profil1

cs-usst commented 4 years ago

For that path use the the argument -p profil1

Thanks. Before asking I tried -c argument but it didn't work. It turns out that -c and -p combined work for me.

Paulchen232 commented 4 years ago

Telegram CLI Arguments