pub struct CliService;Implementations§
Source§impl CliService
impl CliService
pub fn success(message: &str)
pub fn warning(message: &str)
pub fn error(message: &str)
pub fn info(message: &str)
pub fn debug(message: &str)
pub fn verbose(message: &str)
pub fn fatal(message: &str, exit_code: i32) -> !
pub fn section(title: &str)
pub fn subsection(title: &str)
pub fn clear_screen()
pub fn output(content: &str)
pub fn json<T: Serialize>(value: &T)
pub fn json_compact<T: Serialize>(value: &T)
pub fn yaml<T: Serialize>(value: &T)
pub fn key_value(label: &str, value: &str)
pub fn status_line(label: &str, value: &str, status: ItemStatus)
pub fn spinner(message: &str) -> ProgressBar
pub fn progress_bar(total: u64) -> ProgressBar
pub fn timed<F, R>(label: &str, f: F) -> Rwhere
F: FnOnce() -> R,
pub fn prompt_schemas( module_name: &str, schemas: &[(String, String)], ) -> Result<bool>
pub fn prompt_seeds( module_name: &str, seeds: &[(String, String)], ) -> Result<bool>
pub fn prompt_install(modules: &[String]) -> Result<bool>
pub fn prompt_update(updates: &[(String, String, String)]) -> Result<bool>
pub fn confirm(question: &str) -> Result<bool>
pub fn confirm_default_yes(question: &str) -> Result<bool>
pub fn display_validation_summary(summary: &ValidationSummary)
pub fn display_result(result: &OperationResult)
pub fn display_progress(progress: &ProgressSummary)
pub fn prompt_builder(message: &str) -> PromptBuilder
pub fn collection<T: Display>( title: &str, items: Vec<T>, ) -> CollectionDisplay<T>
pub fn module_status(module_name: &str, message: &str)
pub fn relationship( from: &str, to: &str, status: ItemStatus, module_type: ModuleType, )
pub fn item(status: ItemStatus, name: &str, detail: Option<&str>)
pub fn batch_install(modules: &[ModuleInstall]) -> Result<bool>
pub fn batch_update(updates: &[ModuleUpdate]) -> Result<bool>
pub fn table(headers: &[&str], rows: &[Vec<String>])
pub fn phase(name: &str)
pub fn phase_success(message: &str, detail: Option<&str>)
pub fn phase_info(message: &str, detail: Option<&str>)
pub fn phase_warning(message: &str, detail: Option<&str>)
pub fn service_spinner(service_name: &str, port: Option<u16>) -> ProgressBar
pub fn service_table(title: &str, services: &[ServiceTableEntry])
pub fn startup_complete(duration: Duration, api_url: &str)
pub fn session_context( profile: &str, session_id: &SessionId, tenant: Option<&str>, )
pub fn session_context_with_url( profile: &str, session_id: &SessionId, tenant: Option<&str>, api_url: Option<&str>, )
Trait Implementations§
Source§impl Clone for CliService
impl Clone for CliService
Source§fn clone(&self) -> CliService
fn clone(&self) -> CliService
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CliService
impl Debug for CliService
impl Copy for CliService
Auto Trait Implementations§
impl Freeze for CliService
impl RefUnwindSafe for CliService
impl Send for CliService
impl Sync for CliService
impl Unpin for CliService
impl UnwindSafe for CliService
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more