cmd

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 40 Imported by: 0

Documentation

Overview

Package cmd assembles the hadron command tree and owns the single error → exit-code → rendering path.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() int

Execute runs the CLI and returns the process exit code.

func NewRootCmd

func NewRootCmd(f *cmdutil.Factory) *cobra.Command

Types

This section is empty.

Directories

Path Synopsis
Package access implements `hadron access` — inspecting who can do what.
Package access implements `hadron access` — inspecting who can do what.
Package agent implements `hadron agent ...` — agent lifecycle management.
Package agent implements `hadron agent ...` — agent lifecycle management.
Package agentic implements `hadron agentic-usage` (D8): a single document an agent can read to learn the CLI.
Package agentic implements `hadron agentic-usage` (D8): a single document an agent can read to learn the CLI.
Package aiconfig implements `hadron ai-config ...` — the AI service config surface.
Package aiconfig implements `hadron ai-config ...` — the AI service config surface.
Package apicmd implements `hadron api`, the raw GraphQL escape hatch (same role as `gh api`).
Package apicmd implements `hadron api`, the raw GraphQL escape hatch (same role as `gh api`).
Package app implements `hadron app ...`.
Package app implements `hadron app ...`.
Package asset implements `hadron asset …` — the CLI surface for uploaded files (spec 006 / cor:dmo:060:10, server #359).
Package asset implements `hadron asset …` — the CLI surface for uploaded files (spec 006 / cor:dmo:060:10, server #359).
Package auth implements `hadron auth ...`.
Package auth implements `hadron auth ...`.
Package chat implements `hadron chat ...` — a token-lean surface for AI agents (and humans) participating in a Hadron team-chat memory (see the how-to guide "Set up an agent team chat").
Package chat implements `hadron chat ...` — a token-lean surface for AI agents (and humans) participating in a Hadron team-chat memory (see the how-to guide "Set up an agent team chat").
Package coding lints the coding-workflow graph: the review:* checklist tree and the preflight router.
Package coding lints the coding-workflow graph: the review:* checklist tree and the preflight router.
Package configcmd implements `hadron config ...`.
Package configcmd implements `hadron config ...`.
Package connection implements `hadron connection ...` — management of a user's external connections (email/calendar) and the scoped grants that delegate access on them to Apps (spec-042; hadron-server #593/#599).
Package connection implements `hadron connection ...` — management of a user's external connections (email/calendar) and the scoped grants that delegate access on them to Apps (spec-042; hadron-server #593/#599).
Package edge implements `hadron edge ...` — directed, labeled connections between two nodes.
Package edge implements `hadron edge ...` — directed, labeled connections between two nodes.
Package grant implements `hadron grant ...` — individual action grants (design:grant-model; hadron-server #615).
Package grant implements `hadron grant ...` — individual action grants (design:grant-model; hadron-server #615).
Package mcpserver implements `hadron mcp-server ...` — the external MCP server registry (hadrontool-mcp conduit; hadron-server #634).
Package mcpserver implements `hadron mcp-server ...` — the external MCP server registry (hadrontool-mcp conduit; hadron-server #634).
Package memory implements `hadron memory ...`.
Package memory implements `hadron memory ...`.
Package node implements `hadron node ...`.
Package node implements `hadron node ...`.
Package object implements `hadron object …` — the CLI surface for the object store (cor:api:170, server #745).
Package object implements `hadron object …` — the CLI surface for the object store (cor:api:170, server #745).
Package org implements `hadron org ...` — organization and membership management.
Package org implements `hadron org ...` — organization and membership management.
Package replacecmd implements `hadron replace`, bulk search-and-replace across many nodes (the CLI mirror of the MCP tool hadron_replace_globally).
Package replacecmd implements `hadron replace`, bulk search-and-replace across many nodes (the CLI mirror of the MCP tool hadron_replace_globally).
Package run implements `hadron run ...` — the headless App-run audit and control surface (spec-040, cor:agt:010:02).
Package run implements `hadron run ...` — the headless App-run audit and control surface (spec-040, cor:agt:010:02).
Package schedule implements `hadron schedule ...` — recurring headless-run triggers (spec-040, cor:agt:010, D-2026-07-04-E).
Package schedule implements `hadron schedule ...` — recurring headless-run triggers (spec-040, cor:agt:010, D-2026-07-04-E).
Package secret implements `hadron secret ...` — management for the owner-scoped, encrypted secret store.
Package secret implements `hadron secret ...` — management for the owner-scoped, encrypted secret store.
Package serverinfo implements `hadron server-info`.
Package serverinfo implements `hadron server-info`.
Package spec implements `hadron spec ...` — an opinionated layer over the generic node/edge commands for maintaining product-spec nodes that follow the loc-as-citation convention: a spec's loc IS its citation number, <module>:<feature>:<rule>:<flow> (e.g.
Package spec implements `hadron spec ...` — an opinionated layer over the generic node/edge commands for maintaining product-spec nodes that follow the loc-as-citation convention: a spec's loc IS its citation number, <module>:<feature>:<rule>:<flow> (e.g.
Package team implements `hadron team ...` — the team-coordination surface (#369, re-keyed to the Worker model in #428 / hadron-server#974).
Package team implements `hadron team ...` — the team-coordination surface (#369, re-keyed to the Worker model in #428 / hadron-server#974).
Package ticket implements `hadron ticket ...` — the action-ticket ledger (spec-040, cor:acl:050:04 tier 2).
Package ticket implements `hadron ticket ...` — the action-ticket ledger (spec-040, cor:acl:050:04 tier 2).
Package user implements `hadron user ...` (look up other users) and `hadron profile ...` (the signed-in user's own profile).
Package user implements `hadron user ...` (look up other users) and `hadron profile ...` (the signed-in user's own profile).
Package version implements `hadron version`.
Package version implements `hadron version`.
Package webhook implements `hadron webhook ...` — inbound webhook triggers for headless runs (spec-040, D-2026-05-02).
Package webhook implements `hadron webhook ...` — inbound webhook triggers for headless runs (spec-040, D-2026-05-02).

Jump to

Keyboard shortcuts

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