libtmux icon indicating copy to clipboard operation
libtmux copied to clipboard

Options: Typed structures

Open tony opened this issue 1 year ago • 0 comments

Can be dataclass.

  • ServerOption
  • SessionOption
  • WindowOption
  • PaneOption
  • Option = ServerOption + SessionOption + WindowOption + PaneOption

Consider pydantic, for its field's:

  • alias: for marshalling automatic-rename to automatic_rename
  • description: for documenting option purpose

See also

  • #516

tony avatar Feb 08 '24 12:02 tony