with network stats
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
use prereqs::prereqs_exec;
|
||||
use util::Cmd;
|
||||
|
||||
mod prereqs;
|
||||
@@ -10,14 +9,16 @@ fn main() -> eyre::Result<()> {
|
||||
tldr::Tldr::cmd()?,
|
||||
sourcegraph::Sourcegraph::cmd()?,
|
||||
github::GitHub::cmd()?,
|
||||
stats::Stats::cmd()?,
|
||||
])
|
||||
.get_matches();
|
||||
|
||||
match matches.subcommand() {
|
||||
Some(("prereqs", subcmd)) => prereqs_exec(subcmd),
|
||||
Some(("prereqs", subcmd)) => prereqs::prereqs_exec(subcmd),
|
||||
Some(("tldr", subcmd)) => tldr::Tldr::exec(subcmd),
|
||||
Some(("sourcegraph", subcmd)) => sourcegraph::Sourcegraph::exec(subcmd),
|
||||
Some(("github", subcmd)) => github::GitHub::exec(subcmd),
|
||||
Some(("stats", subcmd)) => stats::Stats::exec(subcmd),
|
||||
_ => Err(eyre::anyhow!("no command selected!")),
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user