Share CLI command - node
Manage Uni nodes.
Commands
Manage nodes in a Uni
Usage
share node <subcommand>
Sub command | description |
---|---|
node get | Get node configuration |
node schema | Get node configuration |
node update | Update node configuration |
Examples
# Get Node info
share node get --uni <uniName>
share node get --uni <uniName> --node <nodeName>
share node get --uni <uniName> --node <nodeName> --json | jq '.'
# Update node settings
share node update --uni <uniName> --node <nodeName> --config '{"blockReportEmails":["email@email.com"]}'
# Get node GraphQL schema
share node schema --uni <uniName>
share node schema --uni <uniName> --node <nodeName>
node get
Get node configuration
Usage
share node get
Flags
uni
(option) - Name of Uninode
(option) - Name of Nodejson
(boolean) - Output return values as JSON
Examples
share node get --uni <uniName>
share node get --uni <uniName> --node <nodeName>
share node get --uni <uniName> --node <nodeName> --json | jq '.'
node schema
Get node configuration
Usage
share node schema
Flags
uni
(option) - Name of Uninode
(option) - Name of Nodejson
(boolean) - Output return values as JSON
Examples
share node schema --uni <uniName>
share node schema --uni <uniName> --node <nodeName>
node update
Update node configuration
Usage
share node update
Flags
uni
(option) - Name of Uninode
(option) - Name of Nodeconfig
(option) - config values to setforce
(boolean) - Force config update & ignore promptsjson
(boolean) - Output return values as JSON
Examples
share node update --uni <uniName> --node <nodeName> --config '{"blockReportEmails":["email@email.com"]}'
Table of contents