k2tools 0.1.0

Rust CLI toolkit for working with kraken2 outputs
Documentation
1
2
3
4
5
6
7
8
9
10
use anyhow::Result;

/// Trait implemented by every k2tools subcommand.
pub trait Command {
    /// Execute the command.
    ///
    /// # Errors
    /// Returns an error if the command fails.
    fn execute(&self) -> Result<()>;
}