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    INIT_PREFLIGHT_FLAGS, add_resource, delete_environment, ensure_environment, ensure_project,
25    find_env_value, merge_env_lines, project_initialized_in_dir, recorded_project_id,
26    remove_resource, run_init_preflight, set_spend_cap, spend_summary,
27    sync_vault_pull_for_instance, unquote_env_value, vault_env_from_dir,
28};
29pub use responses::{
30    EnvListResponse, PreflightCheck, PreflightReady, ServicesListResponse, StatusResponse,
31    preflight_checks_from_envelope,
32};
33pub use stripe::{CommandOutput, CommandRunner, StripeProjects, StripeResult, TokioRunner};
34pub use surface::{
35    command_separators, command_surface, parse_header_version, plugin_version, render_surface,
36    surface_header,
37};