Expand description
Reusable CLI document input and output argument structures with format and transformation selection.
Structs§
- CliAuto
Document Input Args - CLI document input arguments supporting automatic format detection when
--fromis omitted. - CliDocument
Input Args - CLI document input arguments defaulting to UTF-8 input format.
- CliDocument
Output Args - CLI document output arguments with target format and transformation options.
Functions§
- parse_
supported_ dc_ input_ format - Parses a CLI
--fromvalue into [SupportedDcInputFormat], accepting short nicknames, RustFormatIdnames, orf<N>shorthands case-insensitively. On failure, returns a categorized, sorted list of supported formats with descriptions. - parse_
supported_ dc_ output_ format - Parses a CLI
--tovalue into [SupportedDcOutputFormat], accepting short nicknames, RustFormatIdnames, orf<N>shorthands case-insensitively. On failure, returns a categorized, sorted list of supported formats with descriptions. - parse_
supported_ dc_ transformation - Parses a CLI
--transformvalue into [SupportedDcTransformation], accepting short nicknames, RustFormatIdnames, orf<N>shorthands case-insensitively. On failure, returns a categorized, sorted list of supported transformations with descriptions.