mirror of
https://github.com/ultraworkers/claw-code-parity.git
synced 2026-04-22 04:36:28 +02:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user