-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
formatFormat reader/writerFormat reader/writertestingTesting infrastructureTesting infrastructurev0.4.0Milestone: v0.4.0 Extended FormatsMilestone: v0.4.0 Extended Formats
Description
Description
Add format-specific flags to the CLI.
Options
--csv-delimiter <char>(default: comma)--csv-no-header(input has no header row)--csv-header <fields>(explicit headers)--xml-root <name>(root element name for output)--xml-attr-prefix <prefix>(default:@)--yaml-multi(treat as multi-document)
TDD Tests
-
--csv-delimiter "\t"reads TSV correctly -
--csv-no-headerreturns array of arrays -
--csv-header "a,b,c"overrides detected headers -
--xml-root itemswraps output in<items> -
--xml-attr-prefix _uses_idinstead of@id -
--yaml-multireads---separated docs - Options only apply to relevant formats (no error if unused)
Part of #4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
formatFormat reader/writerFormat reader/writertestingTesting infrastructureTesting infrastructurev0.4.0Milestone: v0.4.0 Extended FormatsMilestone: v0.4.0 Extended Formats