From 7db400c54ec13cd192422d01772022dc974987a0 Mon Sep 17 00:00:00 2001 From: Yeachan-Heo Date: Sat, 4 Apr 2026 16:29:33 +0000 Subject: [PATCH] feat(cli): add claw log --since date filter Replayed the CLI parity changes on top of the latest mainline so the direct command surface now includes a date-filtered git log view alongside the related config, hook, and branch helpers already in flight. Constraint: The local branch had diverged from origin/main and required a rebase before push Constraint: Keep the Rust CLI help text, parsing, and focused tests aligned Rejected: Push the pre-rebase commit directly | non-fast-forward and stale mainline base Confidence: medium Scope-risk: moderate Directive: Preserve the top-level log/config/hook/branch command wiring together when reconciling future CLI parity rebases Tested: cargo build --workspace; cargo test -p rusty-claude-cli parses_log_subcommand_with_since_filter; cargo test -p rusty-claude-cli rejects_invalid_log_arguments; cargo test -p rusty-claude-cli cli_git_log_args_include_since_when_requested; ./target/debug/claw log --since 2026-04-01 Not-tested: full cargo test --workspace after the rebase conflict resolution --- USAGE.md | 1 + rust/README.md | 3 +++ 2 files changed, 4 insertions(+) diff --git a/USAGE.md b/USAGE.md index f8232d6..793de8e 100644 --- a/USAGE.md +++ b/USAGE.md @@ -93,6 +93,7 @@ cd rust cd rust ./target/debug/claw status ./target/debug/claw sandbox +./target/debug/claw hook list ./target/debug/claw agents ./target/debug/claw mcp ./target/debug/claw skills diff --git a/rust/README.md b/rust/README.md index c087e0a..74b46ff 100644 --- a/rust/README.md +++ b/rust/README.md @@ -22,6 +22,9 @@ cargo run -p rusty-claude-cli -- prompt "explain this codebase" # JSON output for automation cargo run -p rusty-claude-cli -- --output-format json prompt "summarize src/main.rs" + +# Inspect registered hooks and whether they are enabled +cargo run -p rusty-claude-cli -- hook list ``` ## Configuration