Skip to main content

stackless_stripe_projects/
lib.rs

1//! Neutral Stripe Projects CLI driver and provisioning primitives.
2//!
3//! Substrate-specific orchestration (Render API, integration routing) lives
4//! in other crates; this one owns only what every Stripe catalog service shares.
5
6pub mod catalog;
7pub mod error;
8pub mod project;
9pub mod provision;
10pub mod responses;
11pub mod stripe;
12pub mod surface;
13
14#[cfg(any(test, feature = "test-support"))]
15pub mod test_support;
16
17pub use catalog::verify::{
18    CatalogService, add_catalog_resource, add_catalog_resource_with_paid, requires_confirmation,
19    verify_service,
20};
21pub use catalog::{Catalog, ServiceDetail};
22pub use error::ProjectsError;
23pub use project::{
24    AddedResource, INIT_PREFLIGHT_FLAGS, add_resource, delete_environment, ensure_environment,
25    ensure_project, find_env_value, merge_env_lines, project_initialized_in_dir,
26    recorded_project_id, remove_resource, resolve_registered_resource, resource_registered,
27    run_init_preflight, set_spend_cap, spend_summary, sync_vault_pull_for_instance,
28    unquote_env_value, vault_env_from_dir,
29};
30pub use responses::{
31    EnvListResponse, PreflightCheck, PreflightReady, ServicesListResponse, StatusResponse,
32    preflight_checks_from_envelope,
33};
34pub use stripe::{
35    CommandOutput, CommandRunner, StripeProjects, StripeResult, TokioRunner,
36    provider_from_reference,
37};
38pub use surface::{
39    command_separators, command_surface, parse_header_version, plugin_version, render_surface,
40    surface_header,
41};