vkuznet / transfer2go

Distributed, loosely couple agent-based transferring system
MIT License
8 stars 2 forks source link

Add client CLI #49

Closed rishiloyola closed 7 years ago

rishiloyola commented 7 years ago

Command to register request:

./transfer2go -request=http://localhost:8989 -src=http://localhost:8000:file.root -dst=http://localhost:9000 -auth=false

The -request flag will helpful to pass the main agent's url. Instead of modifying functions I added new function and parameter to register request. Because the current code of client can be useful in future.

rishiloyola commented 7 years ago

@vkuznet Check out my last commit. I made the necessary changes. You can merge this.