pub struct CliApp { /* private fields */ }
Expand description
CLI application runner.
Implementations§
Source§impl CliApp
impl CliApp
Sourcepub fn run(&self) -> Result<()>
pub fn run(&self) -> Result<()>
Run the CLI application.
This is the main entry point that orchestrates the entire operation:
- Validate arguments
- Create downloader
- Discover documentation directories
- Collect documentation files
- Download or list files
§Errors
Returns GitHubDocsError
if any step of the process fails.
Auto Trait Implementations§
impl Freeze for CliApp
impl RefUnwindSafe for CliApp
impl Send for CliApp
impl Sync for CliApp
impl Unpin for CliApp
impl UnwindSafe for CliApp
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