DanCardin

Results 144 comments of DanCardin

i'm imagining that it needs to format then split because of the possibility of arbitrary text before/after the actual format specifier. Per your original example: `show_default="[dim italic]Default: {default}.[/]"`. It's the...

I went down somewhat of a rabbit hole on my original take, and i'm not sure it's feasible. I guess...maybe `HelpPart('{default}', cls=Markdown, style='dim light')` and arg_format defaults are adjusted to...

I think i have something: ```python @dataclass(frozen=True) class HelpFormatter: left_padding: Dimension = (0, 0, 0, 2) arg_format: ArgFormat = ( Markdown("{help}"), Markdown("{choices}"), Markdown("{default}", style="dim italic"), ) ``` Which I could...

I was only really imagining inline constructs, but you can also have multi-line constructs/styling in Text, so it wasn't obvious to me why that aspect would be relevant to translation...

Does this ^ do anything for you? I think by default it maybe yields the behavior you were looking for: * retain markdown help back compat * ability to use...

I'd be interested in any type checking problems, and would consider them bugs. i see you addressed some of them in your PR. I dont currently encounter with the settings...

from that, i would believe that the untyped params on the inputs of `@command` would be causing what at least I am seeing on my own CLIs, but i wouldnt...

Fixed by https://github.com/DanCardin/cappa/pull/222

i'm not certain how to make the unit tests work. it seems to be related to equality among the mocks in a way that does not happen in the browser.

ahh nurts, an obvious thing i ought to have checked in retrospect. suppose manually adding books (or alternatively scraping individual goodreads links) to add books that dont exist in openlibrary?...