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.
claudbg/.beans/claudbg-nmuu--define-global...

13 lines
604 B
Markdown

---
# claudbg-nmuu
title: Define global CLI flags
status: completed
type: task
priority: normal
created_at: 2026-03-27T19:38:56Z
updated_at: 2026-03-28T04:25:33Z
parent: claudbg-h7xu
---
Created src/cli.rs with OutputFormat enum (Table/Json/Xml, derives Default+ValueEnum), IncludeList struct (thinking, output bools, derives Default), and FromStr impl for IncludeList that parses comma-separated tokens and returns AppError::InvalidArg for unknowns. Six unit tests cover empty string, single tokens, both tokens, unknown token error, and whitespace trimming. Updated src/lib.rs to declare pub mod cli.