Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.

Add Rust CLI based on JSON-RPC API #59

Merged
merged 3 commits into from
Aug 27, 2018

Conversation

knkski
Copy link
Contributor

@knkski knkski commented Aug 9, 2018

Adds a new CLI that talks exclusively to the JSON-RPC API, and moves the old one to cli-go/.

Implements several CLI methods that don't yet have a JSON-RPC API equivalent, as this PR was submitted separately to cut down on PR size.

Doesn't include unit tests due to the CLI now being a thin client that proxies off all actual work to the API. Integration tests will be included for the CLI <-> API interactions in the JSON-RPC API follow-up PR.

Signed-off-by: Kenneth Koski knkski@bitwise.io

@knkski knkski changed the title Add Rust CLI based on JSON-RPC CLI Add Rust CLI based on JSON-RPC API Aug 9, 2018
@knkski knkski force-pushed the jsonrpc-cli branch 10 times, most recently from 940ab45 to be7a873 Compare August 13, 2018 18:15
@knkski knkski force-pushed the jsonrpc-cli branch 2 times, most recently from 9653b84 to 871715a Compare August 14, 2018 15:17
@knkski knkski self-assigned this Aug 15, 2018
@knkski knkski force-pushed the jsonrpc-cli branch 2 times, most recently from 9ddec3e to c9559df Compare August 20, 2018 14:37
Kenneth Koski added 3 commits August 24, 2018 11:00
In order to have the Rust CLI live at cli/, we need to move the existing
one elsewhere, which in this case is cli-go/.

Signed-off-by: Kenneth Koski <knkski@bitwise.io>
Adds a new CLI that talks exclusively to the JSON-RPC API.

Signed-off-by: Kenneth Koski <knkski@bitwise.io>
Adds documentation generated by `cargo doc` to general Seth docs.

Signed-off-by: Kenneth Koski <knkski@bitwise.io>
Copy link
Contributor

@peterschwarz peterschwarz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to maintain the Go CLI?

@knkski
Copy link
Contributor Author

knkski commented Aug 27, 2018

@peterschwarz: I think we'll need to maintain it until we have the API changes corresponding to these client changes merged, otherwise we'll be in a weird state without a complete working client.

@knkski knkski merged commit ff46d32 into hyperledger-archives:master Aug 27, 2018
@knkski knkski deleted the jsonrpc-cli branch August 27, 2018 17:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants