expectocode / telegram-export

Export Telegram chat data and history
Mozilla Public License 2.0
460 stars 95 forks source link

add shebang to script file #108

Closed xfzka closed 5 years ago

xfzka commented 5 years ago

add shebang to script file make telegram-export run easy

90

https://github.com/expectocode/telegram-export/issues/90#issuecomment-430645953

Example:

#before
python3 -m telegram_export --list-dialogs
#now
telegram_export --list-dialogs
ghost commented 5 years ago

Worked for me, thanks! :+1:

expectocode commented 5 years ago

https://github.com/pypa/setuptools/issues/494

This shebang would get expanded in the distribution process, unfortunately. I wish we could use it though, and I hope PyPA resolves this.