Expand description
Glob-importable convenience prelude for downstream fn main().
Re-exports§
pub use crate::application::Application;
Structs§
- App
- Strongly-typed application context threaded through every command handler.
- Command
Spec - Static descriptor of a
Command. - Credential
Ref - Declarative reference to a credential that the
Resolverwalks through the documented precedence chain:env>keychain>literal>fallback_env. - Features
- Immutable set of runtime-enabled features.
- NoCredentials
- Convenience: an empty provider. Used by
App::for_testingand any tool that hasn’t wired a provider yet. - Tool
Metadata - Static tool metadata set at construction time.
- Version
Info - Version information captured at build time.
Enums§
- Feature
- Built-in feature identifiers that can be toggled at runtime.
- Help
Channel - User-support channel advertised in error output.
- Release
Source - Release-source descriptor. Drives the
versionandupdatesubcommands —rtb-vcsresolves this into a concreteReleaseProvider. - RtbError
- Umbrella error enum for the framework.
Statics§
- BUILTIN_
COMMANDS - Link-time registry of
Commandfactory functions.
Traits§
- Command
- The contract every CLI subcommand implements.
- Credential
Bearing - Exposes the
CredentialRefs in a downstream tool’s config tortb-cli’scredentialssubtree. - Credential
Provider - Type-erased credential listing. Stored on
crate::app::AppasOption<Arc<dyn CredentialProvider>>.
Type Aliases§
- RtbResult
- Canonical framework result alias.