Update README
This commit is contained in:
		
							parent
							
								
									841519e27a
								
							
						
					
					
						commit
						1ff3f07ab5
					
				| @ -1,6 +1,6 @@ | ||||
| # 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. | ||||
| 
 | ||||
| ## Usage | ||||
| @ -11,6 +11,10 @@ usage: textsecure-cli [-h] -u USERNAME {register,verify,send,receive} ... | ||||
| 
 | ||||
|         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 | ||||
| 
 | ||||
|         textsecure-cli -u USERNAME verify CODE | ||||
|  | ||||
| @ -47,8 +47,8 @@ public class Main { | ||||
|                 .help("additional help"); | ||||
|         Subparser parserRegister = subparsers.addParser("register"); | ||||
|         parserRegister.addArgument("-v", "--voice") | ||||
|                     .help("The verification should be done over voice, not sms.") | ||||
|                     .action(Arguments.storeTrue()); | ||||
|                 .help("The verification should be done over voice, not sms.") | ||||
|                 .action(Arguments.storeTrue()); | ||||
|         Subparser parserVerify = subparsers.addParser("verify"); | ||||
|         parserVerify.addArgument("verificationCode") | ||||
|                 .help("The verification code you received via sms or voice call."); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 AsamK
						AsamK