3个版本 (破坏性更新)

0.3.0 2019年11月11日
0.2.0 2019年10月29日
0.1.1-beta.12019年10月10日

#3#interledger

Apache-2.0

42KB
859 行代码(不含注释)

Interledger CLI

通过HTTP调用Interledger节点的命令行界面。

自行构建

cargo build --bin ilp-cli

通过docker运行

docker pull interledgerrs/ilp-cli
docker run -it interledgerrs/ilp-cli

示例输出

$ cargo run --bin ilp-cli --help

ilp-cli 0.0.1
Interledger.rs Command-Line Interface

USAGE:
    ilp-cli [FLAGS] [OPTIONS] [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -q, --quiet      Disable printing the bodies of successful HTTP responses upon receipt
    -V, --version    Prints version information

OPTIONS:
        --node <node_url>    The base URL of the node to connect to [env: ILP_CLI_NODE_URL=]  [default:
                             https://127.0.0.1:7770]

SUBCOMMANDS:
    accounts              Operations for interacting with accounts
    help                  Prints this message or the help of the given subcommand(s)
    pay                   Send a payment from an account on this node
    rates                 Operations for interacting with exchange rates
    routes                Operations for interacting with the routing table
    settlement-engines    Interact with the settlement engine configurations
    status                Query the status of the server
    testnet               Easily access the testnet

依赖项

~18–29MB
~527K SLoC