1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
pub mod top; use clap::Subcommand; use super::Executable; #[derive(Debug, Subcommand)] pub enum Inspect { /// Real-time monitor node resource usage (similar to Linux top) Top(top::Top), } impl Executable for Inspect { fn execute(self) -> eyre::Result<()> { match self { Inspect::Top(args) => args.execute(), } } }