paust-team / paust-db

GNU General Public License v3.0
6 stars 5 forks source link

Add endpoint setting flag for put, query, fetch command of client cli #115

Closed dragon0170 closed 5 years ago

dragon0170 commented 5 years ago

paust-db-clientput, query, fetch 커맨드를 실행할 때 현재는 localhost:26657을 endpoint로 하여 client를 생성합니다. 이를 사용자가 원하는 대로 설정할 수 있도록 -e, --endpoint flag를 아래의 예시와 같이 추가하는 것이 좋아보입니다.

$ paust-db-client put -e 192.168.0.2:26657
$ paust-db-client query --endpoint 192.168.0.2:26657