1pub mod auth;
66pub mod cli;
68pub mod command;
70pub mod config;
72pub mod config_commands;
74pub mod error;
76pub mod flags;
78pub mod fs;
80pub mod guide;
82pub mod middleware;
84pub mod module;
86pub mod output;
88pub mod search;
90pub mod tier;
92pub mod transport;
94pub mod tree;
96
97#[cfg(feature = "pkce-auth")]
98pub use auth::storage::{AutoStorage, KeyringStorage};
99pub use auth::storage::{
100 CredentialKey, CredentialStorage, FileStorage, default_storage, storage_for,
101};
102pub use auth::{
103 AuthLoginResult, AuthProvider, AuthStatusEntry, CACHE_TTL, Credential, CredentialRequest,
104 Dispatcher, SingleProvider, StatusEntry, auth_command_group, login_and_build,
105 login_and_build_with_scopes, logout_result, status_result, to_status_entry,
106};
107pub use cli::{
108 ApplyFlags, Argv0LinkMethod, Argv0Route, BuildInfo, Cli, CliConfig, CliRunOutput,
109 ExtraSearchDocs, InitDeps, ModuleHelpEntry, OnShutdown, PreRun, RegisterFlags, ResolveMeta,
110 RootNextActions, build_root_long,
111};
112pub use command::{
113 CommandContext, CommandFuture, CommandHandler, CommandResult, CommandResultMetadata,
114 CommandSpec, GroupSpec, RuntimeCommandSpec, RuntimeGroupSpec, StreamSender,
115 StreamingCommandFuture, StreamingCommandHandler, command_args_from_matches,
116 command_path_from_matches, command_path_from_parts, leaf_matches,
117};
118pub use config::{
119 ConfigFile, CredentialStore, CredentialsConfig, EngineConfig, ParseCredentialStoreError,
120 credential_store_env_var, resolve_credential_store, resolve_credential_store_with,
121};
122pub use config_commands::config_command_group;
123pub use error::{
124 CliCoreError, DetailedError, ExitCoder, Result, exit_code_for_error, exit_code_for_exit_coder,
125};
126pub use flags::{
127 GlobalFlags, app_id_env_prefix, default_output_format, derive_bool_flags, derive_value_flags,
128 extract_command_path, extract_output_format, extract_search_query, global_flags_from_matches,
129 has_true_schema_flag, output_env_var, register_global_flags, resolve_default_output_format,
130};
131pub use guide::{GuideEntry, parse_guides, parse_guides_from_markdown};
132pub use middleware::{
133 ActivityEmitter, ActivityEvent, Auditor, AuthRequirement, Authorizer, CommandMeta,
134 CredentialResolver, Middleware, MiddlewareOutput, MiddlewareRequest,
135};
136pub use module::{CommandModule, Module, ModuleContext, ModuleRegister};
137pub use output::{
138 Envelope, ErrorEnvelope, FieldInfo, HumanViewDef, HumanViewFn, HumanViewRegistry,
139 HumanViewRenderer, Metadata, NextAction, NextActionParam, OutputField, OutputFormat,
140 OutputSchema, PaginationMeta, PipelineOpts, RendererFactory, SchemaInfo, SchemaRegistry,
141 TableColumn, apply_pipeline, build_detailed_error_envelope, build_error_envelope, fields_for,
142 fields_from_json_schema, filter_fields, format_help_section, get_global_schema_by_path,
143 global_human_view_registry_snapshot, global_schema_registry_snapshot, is_valid_output_format,
144 json_schema_for, json_schema_info, lookup_global_human_view_columns,
145 lookup_global_human_view_func, parse_fields, register_global_human_view,
146 register_global_human_view_func, register_global_json_schema, register_global_schema,
147 register_global_schema_fields, register_global_schema_info, render, render_data,
148 render_data_format, render_detailed_error, render_detailed_error_format, render_error,
149 render_error_format, render_format, render_human, render_human_with_registry,
150 render_human_with_registry_for_schema, render_human_with_view, render_json, render_toon,
151 write_render,
152};
153pub use search::{SearchDocument, SearchResult};
154pub use tier::Tier;
155pub use tree::{TreeNode, build_tree_from_clap, build_tree_from_parts, render_tree_human};