Skip to main content

cli/cli/cli_args/
mod.rs

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