attach
The attach
command is used to start a JavaScript console that connects to an already running local or remote Kit node.
Usage
Options
--exec
- Executes a JavaScript source code and exit. If a path is provided, it is read and executed.--remote.address
- The address of the Git & RPC remote server.--rpc.https
- Indicates that SSL should be used when connecting to the node.--rpc.user
- Provide the username of the server for basic authentication.--rpc.password
- Provide the password of the server for basic authentication.-h, --help
- Print out a help message.
Example
Attach to the local node running on the default
address:port
.
Attach to a remote node at the address
rpc.mynode.net:9003
.
Attach to a node and execute a JavaScript expression immediately after attaching.
Last updated