cswap-bend-cli
Releases (1)
-
0.1.0.0 indexed
Definitions (4,210)
render.bend
- type Line
- def tenths_of
- def marker.ahead
- def body.cell
- def window_line
- def spend.body
- def spend_line
- def cons_m
- def win_m
- def spend_m
- def scoped_marker
- def scoped_lines
- def usage_rows
- def width
- def fmt_lines
- def age_text
- def tree
- def last_idx
- def append_last
- def with_age
- def note.pick
- def age_note
- def measured2
- def measured
- def error_note
- def unavailable
- def sentinel_note
- def last_seen2
- def last_seen
- def sentinel_lines
rpc.bend
- def is_blockA YAML or TOON message is a block, a JSON message a line.
- def render
- def parse_req
- def run_req
- def run_doc
- def handle2
- def handleThe response text for one message ("" for a blank one).
rpcmsg.bend
- type Req
- type Bad
- def or_null
- def item_str
- def cons_str
- def strs_of
- def args_of
- def dashes
- def opt_flag
- def cat
- def flags_of
- def opts_of
- def allowed
- def refused
- def cmd_ok
- def canonThe command a name stands for (the CLI's aliases).
- def cmd_wordThe program word for a command name; Fail names why it is not served.
- def cmd_of
- def bad
- def build3
- def build2
- def build
- def planThe command line a request asks for, or why it cannot be served.
- def ok_resp
- def err_resp
- def last_part
- def cut_pick
- def cut_errorThe text after the first `error: ` in `s`, else `whole`.
- def after_errorThe message of a usage error: the last line, after its `error: `.
- def str_at
- def fail_doc
- def err_of
- def ok_of
- def response2
- def responseThe response document for a command's output.
server.bend
- def Usock.listenA foreign effect: a non-blocking listening unix socket at `path` (mode 0600); a stale socket file there is replaced, any other file is an error.
- def chunk
- type SP
- def s_chunk
- def s_read
- def after_read
- def s_cut
- def s_tail
- def stdin_pump
- def rpc_start
- def rpcServe the messages on standard input; ends at end of input.
- type CP
- def c_recv
- def after_recv
- def c_sent
- def after_send
- def c_cut
- def c_tail
- def c_reply
- def conn_pump
- type AP
- def a_got
- def after_accept
- def accept_pump
- def serve_start
- def serveServe clients on the unix socket at `path`, one at a time, until a signal.