cmd

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package cmd builds the cheshmhayash command tree with urfave/cli v3. Each component is a subcommand, so one image can run any of them and a deployment turns a component on by the command it runs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the command tree with the process arguments. SIGINT and SIGTERM cancel the context that every subcommand receives.

func Root

func Root() *cli.Command

Root returns the top-level command with every subcommand registered.

Types

This section is empty.

Directories

Path Synopsis
Package bot wires the cheshmhayash CLI to the long-lived bot daemon (scheduled scans, chat notifications, manifest store, HTTP listener).
Package bot wires the cheshmhayash CLI to the long-lived bot daemon (scheduled scans, chat notifications, manifest store, HTTP listener).
Package consumer implements `cheshmhayash consumer`: scan consumers for stale ones, apply a reviewed cleanup manifest, and find which consumer owns a filter subject across clusters.
Package consumer implements `cheshmhayash consumer`: scan consumers for stale ones, apply a reviewed cleanup manifest, and find which consumer owns a filter subject across clusters.
Package mcp implements `cheshmhayash mcp`: the MCP server.
Package mcp implements `cheshmhayash mcp`: the MCP server.
Package peer implements `cheshmhayash peer check`: find ghost peers that are offline in every Raft group and lead none.
Package peer implements `cheshmhayash peer check`: find ghost peers that are offline in every Raft group and lead none.
Package pub implements `cheshmhayash pub`: publish a message, encoding JSON into protobuf when the subject has a schema, and optionally wait for a reply (request-reply) and print it decoded.
Package pub implements `cheshmhayash pub`: publish a message, encoding JSON into protobuf when the subject has a schema, and optionally wait for a reply (request-reply) and print it decoded.
Package schemacmd implements `cheshmhayash schema`: inspect the loaded protobuf schemas and the subject rules, without a NATS connection.
Package schemacmd implements `cheshmhayash schema`: inspect the loaded protobuf schemas and the subject rules, without a NATS connection.
Package serve implements `cheshmhayash serve`: the HTTP dashboard.
Package serve implements `cheshmhayash serve`: the HTTP dashboard.
Package stream implements `cheshmhayash stream report`: per-stream limits, replication, size and replica placement.
Package stream implements `cheshmhayash stream report`: per-stream limits, replication, size and replica placement.
Package sub implements `cheshmhayash sub`: subscribe to subjects on core NATS and print each message decoded.
Package sub implements `cheshmhayash sub`: subscribe to subjects on core NATS and print each message decoded.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL