You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
581 B
Markdown
22 lines
581 B
Markdown
---
|
|
# vibed-54u4
|
|
title: Add CLI argument parsing
|
|
status: todo
|
|
type: task
|
|
created_at: 2026-04-11T22:34:31Z
|
|
updated_at: 2026-04-11T22:34:31Z
|
|
parent: vibed-f05l
|
|
blocked_by:
|
|
- vibed-ca4q
|
|
---
|
|
|
|
Implement the `Args` struct using `clap` derive API.
|
|
|
|
## Todo
|
|
- [ ] Add `use clap::Parser;` and derive `Args` struct
|
|
- [ ] Variadic positional `title: Vec<String>` with `num_args = 1..`
|
|
- [ ] `--json` bool flag (output raw JSON)
|
|
- [ ] `--all` bool flag (show all results, not just top match)
|
|
- [ ] Call `Args::parse()` in `main` and join title words for display
|
|
- [ ] `cargo check` passes
|