1mod 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_import;
19mod commands_integration;
20mod commands_main;
21mod commands_oplog;
22mod commands_query;
23mod commands_redact;
24mod commands_remote;
25mod commands_review;
26#[cfg(feature = "semantic")]
27mod commands_semantic;
28mod commands_shell;
29mod commands_thread;
30mod commands_visibility;
31mod output_mode;
32mod shared;
33
34pub use cli_base::{Cli, CliContext, should_output_json};
35pub use command_suggestions::{format_unrecognized_suggestion, suggested_command};
36pub use commands_agent::{
37 AgentCommands, AgentFanoutCommands, AgentProvenanceCommands, AgentTaskCommands,
38 PresenceCommands,
39};
40pub use commands_args::{
41 AgentApiListArgs, AgentCaptureArgs, AgentFanoutPlanArgs, AgentFanoutStartArgs,
42 AgentHeartbeatArgs, AgentPresenceCompleteArgs, AgentPresenceExplainArgs, AgentPresenceListArgs,
43 AgentPresenceShowArgs, AgentProvenanceBeginArgs, AgentProvenanceEndArgs,
44 AgentProvenanceListArgs, AgentProvenanceSegmentArgs, AgentProvenanceShowArgs, AgentReadyArgs,
45 AgentReleaseArgs, AgentReleaseStatusArg, AgentReserveArgs, AgentTaskCreateArgs,
46 AgentTaskListArgs, AgentTaskShowArgs, AgentTaskStatusArg, AgentTaskUpdateArgs, CloneArgs,
47 CollapseArgs, DiffArgs, DiffBaseArg, DoctorArgs, DoctorCommands, DoctorDocsArgs, ExpandArgs,
48 FanoutHarnessArg, IMPORT_VERB, INIT_VERB, ImportLocalArgs, InitArgs, LandArgs, LogArgs,
49 PullArgs, PushArgs, ReadyArgs, ResolveArgs, RevertArgs, SnapshotArgs, SyncArgs,
50 ThreadAbsorbArgs, ThreadCapturesArgs, ThreadCheckoutArgs, ThreadDropArgs, ThreadMoveArgs,
51 ThreadNameArgs, ThreadRenameArgs, ThreadResolveArgs, ThreadShowArgs, ThreadStartArgs,
52 TimelineCommands, TimelineForkArgs, TimelineRecordFinishArgs, TimelineRecordStartArgs,
53 TimelineRecordToolArgs, TimelineRecoverArgs, TimelineResetArgs, TimelineStatusArgs,
54 TimelineTargetArgs, UndoArgs, WatchArgs, WorkspaceModeArg,
55};
56#[cfg(feature = "ci")]
57pub use commands_ci::{CiCommands, CiRunArgs};
58#[cfg(feature = "client")]
59pub use commands_client::{
60 AgentTemplateArg, AuthCommands, AuthInviteCommands, AuthTrustCommands, AuthTrustReplaceArgs,
61 AuthTrustShowArgs, ClaimArgs, DEFAULT_CLAIM_WEB_ORIGIN, GrantCommands, GrantCreateArgs,
62 GrantDeleteArgs, GrantListArgs, GrantRoleArg, PromoteArgs,
63};
64#[cfg(all(feature = "git-overlay", feature = "ingest"))]
65pub use commands_context::ContextReasonCommands;
66pub use commands_context::{
67 ContextCommands, ContextGetArgs, ContextRmArgs, ContextSetArgs, ContextSupersedeArgs,
68};
69pub use commands_discuss::{
70 DiscussArgs, DiscussCommands, DiscussListArgs, DiscussNewArgs, DiscussReopenArgs,
71 DiscussReplyArgs, DiscussResolveArgs, DiscussShowArgs, DiscussWaitArgs, ResolveModeArg,
72};
73pub use commands_env::{EnvCommands, EnvCreateArgs, EnvListArgs, EnvRunArgs};
74#[cfg(feature = "git-overlay")]
75pub use commands_git_projection::{BridgeCommands, BridgeGitCommands, GitSource, SyncCommands};
76pub use commands_hook::{HookCommands, HookInstallSource};
77pub use commands_import::{ImportArgs, ImportCommands};
78#[cfg(feature = "client")]
79pub use commands_import::{ImportOperationArgs, ImportUrlArgs};
80pub use commands_integration::{
81 IntegrationCommands, IntegrationInstallArgs, IntegrationRelayArgs, IntegrationStampArgs,
82 IntegrationTargetArgs,
83};
84pub use commands_main::{
85 Commands, DaemonCommands, FsckArgs, FsckCommands, FsckRepairCommands, FsckRepairGitArgs,
86 MaintenanceCommands, NetdCommands,
87};
88pub use commands_oplog::OplogCommands;
89pub use commands_query::{BlameArgs, QueryArgs};
90pub use commands_redact::{
91 PurgeApplyArgs, PurgeCommands, PurgeListArgs, RedactApplyArgs, RedactCommands, RedactListArgs,
92 RedactShowArgs,
93};
94pub use commands_remote::RemoteCommands;
95pub use commands_review::{
96 ReviewApproveArgs, ReviewCommands, ReviewHealthArgs, ReviewListArgs, ReviewNextArgs,
97 ReviewReadinessArgs, ReviewRevokeArgs, ReviewShowArgs, ReviewSignArgs, SignKindArg,
98};
99#[cfg(feature = "semantic")]
100pub use commands_semantic::{HotEventKindArg, HotSpotKeyArg, SemanticCommands};
101pub use commands_shell::{CompletionSubject, ShellCommands, ShellKind};
102pub use commands_thread::{
103 ThreadCleanupArgs, ThreadCommands, ThreadListArgs, ThreadMarkerCommands,
104 ThreadOwnershipCommands,
105};
106pub use commands_visibility::{
107 VisibilityCommands, VisibilityListArgs, VisibilityPromoteArgs, VisibilitySetArgs,
108 VisibilityShowArgs, VisibilityTierArg,
109};
110pub use config::OutputMode;
111pub use output_mode::CliOutputMode;
112pub use shared::{
113 AuthoredMessageArgs, CloneSourceArg, CodeScopeArgs, DryRunArgs, HistoricalRevisionArgs,
114 HostedServerArgs, RemoteChoiceArgs, safe_clone_destination_basename, split_path_and_revision,
115};