-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
telegram-cli -e with several commands #934
Comments
Hi, you can use telegram-cli -e "add contact phone_number name surname\nmsg surname_name hello" HTH, |
Doesn't work. Output:
It seems doesn't understand \n as Line Feed (I have also tryied things like \n /\n ^J) On the other hand, msg command works (for me) as msg name_surname text and no with surname_name |
Did you use the double quotes and not the single quotes as in your example? \n is only interpretet between two The other thing about surname_name <> name_surname happened, because I just copied your example and didn't pay attention to the notation ;-) |
Yes and (in my case) the result was the same. |
In any case the application is great |
It's really hard to help you with you giving so few information on what you are doing, which commands you are executing and what results you get, sorry. |
It should split it on |
I also would like to send multiple commands with
I am on OSX. |
outputs:
clearly the if I add spaced around |
Here is working solution (at least for mac os) |
telegram-cli -e argument works with several commands?
Something like this:
telegram-cli -e 'add contact phone_number name surname msg surname_name hello'
There is a way to use -e argument to send a msg to a phone number and exit?
(thank you)
The text was updated successfully, but these errors were encountered: