@swim/cli
TypeScript icon, indicating that this package has built-in type declarations

3.11.1 • Public • Published

@swim/cli

package documentation chat

Command line client for linking to Web Agent lanes over the WARP protocol.



Installation

npm install -g @swim/cli

Usage

$ swim-cli help
Usage: swim-cli <command>

Commands:
  link                  stream changes to a lane of a remote node
  sync                  stream the current state and changes to a lane of a remote node
  get                   fetch the current state of a lane of a remote node
  reflect               stream introspection metadata
  help
$ swim-cli sync help
Usage: swim-cli sync [options] <command>

Options:
  -h, --host <hostUri>  remote host to link
  -n, --node <nodeUri>  remote node to link
  -l, --lane <laneUri>  lane to link
  -f, --format <json|recon> event output format

Commands:
  help
$ swim-cli reflect help
Usage: swim-cli reflect [options] <command>

Options:
  -e, --edge <edgeUri>  endpoint to introspect
  -m, --mesh <meshUri>? introspect default or specified mesh
  -p, --part <partKey>? introspect default or specified partition
  -h, --host <hostUri>? introspect default or specified host
  -n, --node <nodeUri>  introspect specified node
  -l, --lane <laneUri>  introspect specified lane
  -k, --link            introspect link behavior
  -r, --router          introspect router behavior
      --data            introspect data behavior
      --system          introspect system behavior
      --process         introspect process behavior
  -s, --stats           stream introspection statistics
  -f, --format <json|recon> event output format

Commands:
  log                   stream log events
  help

Package Sidebar

Install

npm i @swim/cli

Weekly Downloads

3

Version

3.11.1

License

Apache-2.0

Unpacked Size

8.67 MB

Total Files

10

Last publish

Collaborators

  • cwjames19
  • ajay-gov
  • c9r