This software is no longer simple
This commit is contained in:
parent
efc663a178
commit
dfe814316f
|
@ -113,8 +113,7 @@ foreach (page ${project_MAN_PAGES})
|
||||||
endforeach (page)
|
endforeach (page)
|
||||||
|
|
||||||
# CPack
|
# CPack
|
||||||
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY
|
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "A shell for JSON-RPC 2.0")
|
||||||
"A shell for running JSON-RPC 2.0 queries")
|
|
||||||
set (CPACK_PACKAGE_VENDOR "Premysl Eric Janouch")
|
set (CPACK_PACKAGE_VENDOR "Premysl Eric Janouch")
|
||||||
set (CPACK_PACKAGE_CONTACT "Přemysl Eric Janouch <p@janouch.name>")
|
set (CPACK_PACKAGE_CONTACT "Přemysl Eric Janouch <p@janouch.name>")
|
||||||
set (CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE")
|
set (CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE")
|
||||||
|
|
13
README.adoc
13
README.adoc
|
@ -2,15 +2,16 @@ json-rpc-shell
|
||||||
==============
|
==============
|
||||||
:compact-option:
|
:compact-option:
|
||||||
|
|
||||||
'json-rpc-shell' is a simple shell for running JSON-RPC 2.0 queries.
|
'json-rpc-shell' is a shell for running JSON-RPC 2.0 queries.
|
||||||
|
|
||||||
This software has been created as a replacement for the following shell, which
|
This software was originally created as a replacement for
|
||||||
is written in Java: http://software.dzhuvinov.com/json-rpc-2.0-shell.html
|
http://software.dzhuvinov.com/json-rpc-2.0-shell.html[a different one] made by
|
||||||
|
Vladimir Dzhuvinov, in order to avoid Java, but has evolved since.
|
||||||
|
|
||||||
Features
|
Features
|
||||||
--------
|
--------
|
||||||
In addition to most of the features provided by Vladimir Dzhuvinov's shell
|
In addition to most of the features provided by its predecessor, you will get
|
||||||
you get the following niceties:
|
the following niceties:
|
||||||
|
|
||||||
- configurable JSON syntax highlight, which with prettyprinting turned on
|
- configurable JSON syntax highlight, which with prettyprinting turned on
|
||||||
helps you make sense of the results significantly
|
helps you make sense of the results significantly
|
||||||
|
@ -18,7 +19,7 @@ you get the following niceties:
|
||||||
results in your favourite editor or redirect them to a file
|
results in your favourite editor or redirect them to a file
|
||||||
- ability to edit the input line in your favourite editor as well with Alt+E
|
- ability to edit the input line in your favourite editor as well with Alt+E
|
||||||
- WebSocket (RFC 6455) can also be used as a transport rather than HTTP
|
- WebSocket (RFC 6455) can also be used as a transport rather than HTTP
|
||||||
- support for method name tab completion using OpenRPC discovery
|
- support for method name tab completion using OpenRPC discovery or file input
|
||||||
|
|
||||||
Documentation
|
Documentation
|
||||||
-------------
|
-------------
|
||||||
|
|
|
@ -6,7 +6,7 @@ json-rpc-shell(1)
|
||||||
|
|
||||||
Name
|
Name
|
||||||
----
|
----
|
||||||
json-rpc-shell - a simple JSON-RPC 2.0 shell
|
json-rpc-shell - a shell for JSON-RPC 2.0
|
||||||
|
|
||||||
Synopsis
|
Synopsis
|
||||||
--------
|
--------
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* json-rpc-shell.c: simple JSON-RPC 2.0 shell
|
* json-rpc-shell.c: a shell for JSON-RPC 2.0
|
||||||
*
|
*
|
||||||
* Copyright (c) 2014 - 2020, Přemysl Eric Janouch <p@janouch.name>
|
* Copyright (c) 2014 - 2020, Přemysl Eric Janouch <p@janouch.name>
|
||||||
*
|
*
|
||||||
|
@ -3587,7 +3587,7 @@ parse_program_arguments (struct app_context *ctx, int argc, char **argv,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct opt_handler oh = opt_handler_make (argc, argv, opts,
|
struct opt_handler oh = opt_handler_make (argc, argv, opts,
|
||||||
"ENDPOINT", "A simple JSON-RPC 2.0 shell.");
|
"ENDPOINT", "A shell for JSON-RPC 2.0.");
|
||||||
|
|
||||||
int c;
|
int c;
|
||||||
while ((c = opt_handler_get (&oh)) != -1)
|
while ((c = opt_handler_get (&oh)) != -1)
|
||||||
|
|
Loading…
Reference in New Issue