Share CLI command - node

Manage Uni nodes.

Commands

Manage nodes in a Uni

Usage

share node <subcommand>
Sub commanddescription
node getGet node configuration
node schemaGet node configuration
node updateUpdate 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 Uni
  • node (option) - Name of Node
  • json (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 Uni
  • node (option) - Name of Node
  • json (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 Uni
  • node (option) - Name of Node
  • config (option) - config values to set
  • force (boolean) - Force config update & ignore prompts
  • json (boolean) - Output return values as JSON

Examples

share node update --uni <uniName> --node <nodeName> --config '{"blockReportEmails":["email@email.com"]}'