Skip to main content

heddle_cli_args/cli/cli_args/
mod.rs

1// SPDX-License-Identifier: Apache-2.0
2//! CLI argument structures.
3
4mod cli_base;
5mod command_suggestions;
6mod commands_agent;
7mod commands_args;
8mod commands_ci;
9#[cfg(feature = "client")]
10mod commands_client;
11mod commands_context;
12mod commands_discuss;
13#[cfg(feature = "git-overlay")]
14mod commands_git_projection;
15mod commands_hook;
16mod commands_integration;
17mod commands_main;
18mod commands_oplog;
19mod commands_query;
20mod commands_redact;
21mod commands_remote;
22mod commands_review;
23#[cfg(feature = "semantic")]
24mod commands_semantic;
25mod commands_shell;
26mod commands_thread;
27mod commands_visibility;
28mod output_mode;
29
30pub use cli_base::{Cli, should_output_json};
31pub use cli_shared::OutputMode;
32pub use command_suggestions::{format_unrecognized_suggestion, suggested_command};
33pub use commands_agent::{
34    AgentCommands, AgentFanoutCommands, AgentProvenanceCommands, AgentTaskCommands,
35    PresenceCommands,
36};
37pub use commands_args::{
38    AdoptArgs, AgentApiListArgs, AgentCaptureArgs, AgentFanoutPlanArgs, AgentFanoutStartArgs,
39    AgentHeartbeatArgs, AgentPresenceCompleteArgs, AgentPresenceExplainArgs, AgentPresenceListArgs,
40    AgentPresenceShowArgs, AgentProvenanceBeginArgs, AgentProvenanceEndArgs,
41    AgentProvenanceListArgs, AgentProvenanceSegmentArgs, AgentProvenanceShowArgs, AgentReadyArgs,
42    AgentReleaseArgs, AgentReleaseStatusArg, AgentReserveArgs, AgentTaskCreateArgs,
43    AgentTaskListArgs, AgentTaskShowArgs, AgentTaskStatusArg, AgentTaskUpdateArgs, CloneArgs,
44    CollapseArgs, CommitArgs, DiffArgs, DoctorArgs, DoctorCommands, DoctorDocsArgs,
45    DoctorSchemasArgs, ExpandArgs, INIT_VERB, InitArgs, LandArgs, LogArgs, PullArgs, PushArgs,
46    ReadyArgs, ResolveArgs, RetroArgs, RevertArgs, RunArgs, SnapshotArgs, SyncArgs,
47    ThreadAbsorbArgs, ThreadApprovalsArgs, ThreadApproveArgs, ThreadCapturesArgs,
48    ThreadCheckMergeArgs, ThreadDropArgs, ThreadMoveArgs, ThreadNameArgs, ThreadPromoteArgs,
49    ThreadRenameArgs, ThreadResolveArgs, ThreadRevokeApprovalArgs, ThreadShowArgs, ThreadStartArgs,
50    TimelineArgs, TimelineCommands, TimelineForkArgs, TimelineRecordFinishArgs,
51    TimelineRecordStartArgs, TimelineRecordToolArgs, TimelineRecoverArgs, TimelineResetArgs,
52    TimelineStatusArgs, TimelineTargetArgs, TryArgs, UndoArgs, WatchArgs, WorkspaceModeArg,
53};
54pub use commands_ci::{CiCommands, CiRunArgs};
55#[cfg(feature = "client")]
56pub use commands_client::{AgentTemplateArg, AuthCommands, AuthTrustCommands, IdentityCommands};
57pub use commands_context::ContextCommands;
58#[cfg(all(feature = "git-overlay", feature = "ingest"))]
59pub use commands_context::ContextReasonCommands;
60pub use commands_discuss::{
61    DiscussAppendArgs, DiscussCommands, DiscussListArgs, DiscussOpenArgs, DiscussReopenArgs,
62    DiscussResolveArgs, DiscussShowArgs, ResolveModeArg,
63};
64#[cfg(feature = "git-overlay")]
65pub use commands_git_projection::{BridgeCommands, BridgeGitCommands, GitSource, SyncCommands};
66pub use commands_hook::{HookCommands, HookInstallSource};
67pub use commands_integration::{
68    IntegrationCommands, IntegrationInstallArgs, IntegrationRelayArgs, IntegrationTargetArgs,
69};
70pub use commands_main::{
71    Commands, DaemonCommands, FsckArgs, FsckCommands, FsckRepairCommands, FsckRepairGitArgs,
72    MaintenanceCommands,
73};
74pub use commands_oplog::OplogCommands;
75pub use commands_query::QueryArgs;
76pub use commands_redact::{
77    PurgeApplyArgs, PurgeCommands, PurgeListArgs, RedactApplyArgs, RedactCommands, RedactListArgs,
78    RedactShowArgs,
79};
80pub use commands_remote::RemoteCommands;
81pub use commands_review::{
82    ReviewCommands, ReviewHealthArgs, ReviewNextArgs, ReviewShowArgs, ReviewSignArgs, SignKindArg,
83};
84#[cfg(feature = "semantic")]
85pub use commands_semantic::{HotEventKindArg, HotSpotKeyArg, SemanticCommands};
86pub use commands_shell::{CompletionSubject, ShellCommands, ShellKind};
87pub use commands_thread::{
88    ThreadCleanupArgs, ThreadCommands, ThreadListArgs, ThreadMarkerCommands,
89};
90pub use commands_visibility::{
91    VisibilityCommands, VisibilityListArgs, VisibilityPromoteArgs, VisibilitySetArgs,
92    VisibilityShowArgs, VisibilityTierArg,
93};
94pub use output_mode::CliOutputMode;