Skip to content

nooschain v0.1.0


nooschain / cli/commands/peers / runPeersCommand

Function: runPeersCommand()

runPeersCommand(client, args, flags): Promise<unknown>

Defined in: cli/commands/peers.ts:19

Dispatches noos peers list, score, quarantine, ban, and reset commands.

Ban/unban are guarded by --yes because they disable or re-enable transport. Quarantine and score reset remain explicit operator actions but are less destructive and keep the same endpoint behavior as the Admin GUI.

Parameters

client

CliHttpClient

args

string[]

flags

Record<string, string | boolean>

Returns

Promise<unknown>

Audience-first NOOSChain documentation.