Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
984 changes: 53 additions & 931 deletions Cargo.lock

Large diffs are not rendered by default.

10 changes: 2 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "hu"
version = "0.1.14"
edition = "2021"
rust-version = "1.80"
description = "Dev workflow CLI for Claude Code integration - Jira, GitHub, Slack, PagerDuty, Sentry, NewRelic, AWS"
description = "Dev workflow CLI for Claude Code integration - data, context, docs, shell, cron, MCP, setup"
license = "BUSL-1.1"
repository = "https://github.com/aladac/hu"
homepage = "https://github.com/aladac/hu"
Expand All @@ -20,7 +20,6 @@ clap = { version = "4.5", features = ["derive", "color", "wrap_help", "env"] }
anyhow = "1.0"
directories = "5"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "process", "io-util", "io-std"] }
octocrab = "0.44"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
Expand All @@ -30,11 +29,6 @@ reqwest = { version = "0.12", default-features = false, features = ["json", "rus
regex = "1"
async-trait = "0.1"
urlencoding = "2"
oauth2 = "4.4"
axum = "0.7"
open = "5"
base64 = "0.22"
rand = "0.8"
comfy-table = "7.2.2"
hex = "0.4.3"
dirs = "6.0.0"
Expand All @@ -59,7 +53,7 @@ codegen-units = 1
[package.metadata.deb]
maintainer = "Adam Ladachowski <chi@sazabi.pl>"
copyright = "2025, Adam Ladachowski"
extended-description = "Dev workflow CLI for Claude Code integration with Jira, GitHub, Slack, PagerDuty, Sentry, NewRelic, and AWS."
extended-description = "Dev workflow CLI for Claude Code integration: data, context, docs, cron, shell, MCP server, NewRelic, and host setup."
section = "utility"
priority = "optional"
assets = [
Expand Down
50 changes: 0 additions & 50 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,12 @@ use crate::context::ContextCommand;
use crate::cron::CronCommand;
use crate::data::DataCommand;
use crate::docs::DocsCommand;
use crate::eks::EksCommand;
use crate::gh::GhCommand;
use crate::install::InstallCommand;
use crate::jira::JiraCommand;
use crate::mcp::McpCommand;
use crate::newrelic::NewRelicCommand;
use crate::pagerduty::PagerDutyCommand;
use crate::pipeline::PipelineCommand;
use crate::read::ReadArgs;
use crate::sentry::SentryCommand;
use crate::setup::SetupCommand;
use crate::shell::ShellCommand;
use crate::slack::SlackCommands;
use crate::utils::UtilsCommand;

#[derive(Parser)]
Expand All @@ -30,56 +23,13 @@ pub struct Cli {

#[derive(Subcommand)]
pub enum Command {
/// Jira operations (tickets, sprint, search)
Jira {
#[command(subcommand)]
cmd: Option<JiraCommand>,
},

/// GitHub operations (prs, runs, failures)
Gh {
#[command(subcommand)]
cmd: Option<GhCommand>,
},

/// Slack operations (messages, channels)
Slack {
#[command(subcommand)]
cmd: Option<SlackCommands>,
},

/// PagerDuty (oncall, alerts)
#[command(name = "pagerduty", alias = "pd")]
PagerDuty {
#[command(subcommand)]
cmd: Option<PagerDutyCommand>,
},

/// Sentry (issues, errors)
Sentry {
#[command(subcommand)]
cmd: Option<SentryCommand>,
},

/// NewRelic (incidents, queries)
#[command(name = "newrelic", alias = "nr")]
NewRelic {
#[command(subcommand)]
cmd: Option<NewRelicCommand>,
},

/// EKS pod access (list, exec, logs)
Eks {
#[command(subcommand)]
cmd: Option<EksCommand>,
},

/// CodePipeline status (read-only)
Pipeline {
#[command(subcommand)]
cmd: Option<PipelineCommand>,
},

/// Utility commands (fetch-html, grep)
Utils {
#[command(subcommand)]
Expand Down
Loading
Loading