docs: add readme
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-09-12 19:27:19 +02:00
parent 0dd339dfc5
commit 018e0ece7e
3 changed files with 22 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ use anyhow::Context;
use clap::{Parser, Subcommand};
#[derive(Parser)]
#[command(author, version, about, long_about = None, subcommand_required = true)]
#[command(author, version, about, long_about = Some("Navigate git projects at the speed of thought"))]
struct Command {
#[command(subcommand)]
command: Option<Commands>,
@@ -21,8 +21,9 @@ async fn main() -> anyhow::Result<()> {
let cli = Command::parse();
tracing::debug!("Starting cli");
if let Some(Commands::Hello {}) = cli.command {
println!("Hello!")
match cli.command {
Some(_) => todo!(),
None => todo!(),
}
Ok(())