cmd

package
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 57 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 automation implements `hadron automation ...`: the owner-facing approval of an App's schedules and webhooks (cli#1071, hadron-server#2441).
Package automation implements `hadron automation ...`: the owner-facing approval of an App's schedules and webhooks (cli#1071, hadron-server#2441).
Package billing is the spec-046 metering read surface (cli#215): provider rate rows and an org's credit balance and ledger.
Package billing is the spec-046 metering read surface (cli#215): provider rate rows and an org's credit balance and ledger.
Package bootcompile implements the three manager-only boot-prompt compile commands.
Package bootcompile implements the three manager-only boot-prompt compile commands.
Package calendar implements the read-only calendar slice; authorization belongs to the server.
Package calendar implements the read-only calendar slice; authorization belongs to the server.
Package channel implements `hadron channel` — the chat rooms of spec 049 Phase 4 (hadron-cli#593).
Package channel implements `hadron channel` — the chat rooms of spec 049 Phase 4 (hadron-cli#593).
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 comment implements the command layer for governed comment operations.
Package comment implements the command layer for governed comment operations.
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 drive exposes bounded Drive reads and an explicit raw stdout export.
Package drive exposes bounded Drive reads and an explicit raw stdout export.
Package edge implements `hadron edge ...` — directed, labeled connections between two nodes.
Package edge implements `hadron edge ...` — directed, labeled connections between two nodes.
Package email exposes the bounded organization-admin email connection inventory.
Package email exposes the bounded organization-admin email connection inventory.
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 ha implements `hadron ha ...` — the Home Assistant instance registry (hadrontool-home-assistant; hadron-server#640).
Package ha implements `hadron ha ...` — the Home Assistant instance registry (hadrontool-home-assistant; hadron-server#640).
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 orca is the `hadron orca` group: integrations that read the Orca terminal app (cli#1187).
Package orca is the `hadron orca` group: integrations that read the Orca terminal app (cli#1187).
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 scope implements `hadron scope` — named search scopes ("lenses") over a set of memories (spec 049 Phase 2; hadron-cli#578).
Package scope implements `hadron scope` — named search scopes ("lenses") over a set of memories (spec 049 Phase 2; hadron-cli#578).
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 servedprompt renders the immutable scalar-only served record.
Package servedprompt renders the immutable scalar-only served record.
Package serverinfo implements `hadron server-info`.
Package serverinfo implements `hadron server-info`.
Package skill implements `hadron skill ...` — the maintenance surface for the skill files exported from runnable task nodes (hadron-cli#580, design in docs/plans/skill-command-group.md).
Package skill implements `hadron skill ...` — the maintenance surface for the skill files exported from runnable task nodes (hadron-cli#580, design in docs/plans/skill-command-group.md).
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 ticker exposes the server's named ticker schedules.
Package ticker exposes the server's named ticker schedules.
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 usage exposes read-only provider usage metadata and counts.
Package usage exposes read-only provider usage metadata and counts.
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