raiden-network / raiden

Raiden Network
https://developer.raiden.network
Other
1.84k stars 376 forks source link

Regular CLI #4622

Open kilrau opened 5 years ago

kilrau commented 5 years ago

Abstract

Consider a regular CLI.

Motivation

Endpoints are hard to remember and not very nice to use and I personally ended up with a huge cheat-sheet to curl endpoints via CLI.

Specification

N/A

Backwards Compatibility

N/A

LefterisJP commented 5 years ago

Endpoints are hard to remember and not very nice to use

Can you elaborate on that? Apart from the other issues (#4263) you made what else would you like changed about the API to make it easier for your to use?

As for a CLI, would a REPL-kind of environment be good for you?

kilrau commented 5 years ago

I understand that the endpoints are not supposed to be used manually in a CLI fashion. We just currently do, because there is no CLI (and honestly, we never really tried the WebUI). So this is not about making endpoints easier to use, but adding a CLI on top. Not sure if REPL or another solution. What do you think? @offerm @sangaman @erkarl

ulope commented 5 years ago

Until something like an CLI API client materialises I'd recommend looking into using better tools (e.g. instead of curl).

Some examples of nice generic REST-API clients / toolkits: