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