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
args
string[]
flags
Record<string, string | boolean>
Returns
Promise<unknown>