Skip to main content

systemprompt_cli/commands/cloud/auth/admin_user/
mod.rs

1//! Synchronise the authenticated cloud user as an admin across local profiles.
2//!
3//! Discovers profile databases, then creates or promotes the cloud user to
4//! admin in each. Public surface: [`CloudUser`], [`SyncResult`], the discovery
5//! helpers, and the per-database / all-profiles sync entry points.
6//!
7//! Copyright (c) systemprompt.io — Business Source License 1.1.
8//! See <https://systemprompt.io> for licensing details.
9
10mod discovery;
11mod sync;
12mod types;
13
14pub use discovery::{discover_profiles, print_discovery_summary, process_profile_entry};
15pub use sync::{print_sync_results, sync_admin_to_all_profiles, sync_admin_to_database};
16pub use types::{
17    CloudUser, ProfileDiscoveryResult, ProfileEntryResult, ProfileInfo, ProfileSkipReason,
18    SyncResult,
19};