soph_console/support/console.rs
use crate::Console;
use clap::builder::{IntoResettable, Str, StyledStr};
impl Console {
pub fn name(mut self, name: impl Into<Str>) -> Self {
self.inner = self.inner.name(name);
self
}
pub fn version(mut self, ver: impl IntoResettable<Str>) -> Self {
self.inner = self.inner.version(ver);
self
}
pub fn about(mut self, about: impl IntoResettable<StyledStr>) -> Self {
self.inner = self.inner.about(about);
self
}
}