mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
Update README
This commit is contained in:
parent
841519e27a
commit
1ff3f07ab5
2 changed files with 7 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
# textsecure-cli
|
# textsecure-cli
|
||||||
|
|
||||||
textsecure-cli is a commandline interface for [libtextsecure-java](https://github.com/WhisperSystems/libtextsecure-java). It supports registering, verifying, sending and receiving messages. However receiving messages currently doesn't work, because libtextsecure-java [does not yet support registering for the websocket support](https://github.com/WhisperSystems/libtextsecure-java/pull/5). For registering you need a phone number where you can receive SMS.
|
textsecure-cli is a commandline interface for [libtextsecure-java](https://github.com/WhisperSystems/libtextsecure-java). It supports registering, verifying, sending and receiving messages. However receiving messages currently doesn't work, because libtextsecure-java [does not yet support registering for the websocket support](https://github.com/WhisperSystems/libtextsecure-java/pull/5). For registering you need a phone number where you can receive SMS or incoming calls.
|
||||||
It is primarily intented to be used on servers to notify admins of important events.
|
It is primarily intented to be used on servers to notify admins of important events.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
@ -11,6 +11,10 @@ usage: textsecure-cli [-h] -u USERNAME {register,verify,send,receive} ...
|
||||||
|
|
||||||
textsecure-cli -u USERNAME register
|
textsecure-cli -u USERNAME register
|
||||||
|
|
||||||
|
* Register a number with voice verification
|
||||||
|
|
||||||
|
textsecure-cli -u USERNAME register -v
|
||||||
|
|
||||||
* Verify the number using the code received via SMS
|
* Verify the number using the code received via SMS
|
||||||
|
|
||||||
textsecure-cli -u USERNAME verify CODE
|
textsecure-cli -u USERNAME verify CODE
|
||||||
|
|
|
@ -47,8 +47,8 @@ public class Main {
|
||||||
.help("additional help");
|
.help("additional help");
|
||||||
Subparser parserRegister = subparsers.addParser("register");
|
Subparser parserRegister = subparsers.addParser("register");
|
||||||
parserRegister.addArgument("-v", "--voice")
|
parserRegister.addArgument("-v", "--voice")
|
||||||
.help("The verification should be done over voice, not sms.")
|
.help("The verification should be done over voice, not sms.")
|
||||||
.action(Arguments.storeTrue());
|
.action(Arguments.storeTrue());
|
||||||
Subparser parserVerify = subparsers.addParser("verify");
|
Subparser parserVerify = subparsers.addParser("verify");
|
||||||
parserVerify.addArgument("verificationCode")
|
parserVerify.addArgument("verificationCode")
|
||||||
.help("The verification code you received via sms or voice call.");
|
.help("The verification code you received via sms or voice call.");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue