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