add basic github

This commit is contained in:
2022-12-17 23:27:41 +01:00
parent 3300bb1ee1
commit 66105004e0
8 changed files with 123 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ fn main() -> eyre::Result<()> {
prereqs::prereqs()?,
tldr::Tldr::cmd()?,
sourcegraph::Sourcegraph::cmd()?,
github::GitHub::cmd()?,
])
.get_matches();
@@ -16,6 +17,7 @@ fn main() -> eyre::Result<()> {
Some(("prereqs", subcmd)) => prereqs_exec(subcmd),
Some(("tldr", subcmd)) => tldr::Tldr::exec(subcmd),
Some(("sourcegraph", subcmd)) => sourcegraph::Sourcegraph::exec(subcmd),
Some(("github", subcmd)) => github::GitHub::exec(subcmd),
_ => Err(eyre::anyhow!("no command selected!")),
}
}