Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Dec 18, 2023
1 parent c9ba372 commit 84be938
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ pub struct Root {
}

impl Root {
/// Run the CLIs root command.
///
/// ## Errors
///
/// If the root command is configured with state that is invalid.
pub fn run(&self) -> Result<(), Error> {
match &self.cmd {
Cmd::Types(c) => c.run(&self.channel),
Expand Down

0 comments on commit 84be938

Please sign in to comment.