-r, --recursive
Search files recursively in the source directory
-c, --config TEXT
Project configuration
-pp, --print
Print output
--cache
Cache sources loading
--debug
Show debug messages
-p, --package TEXT
Target package [default: generated]
-o, --output [dataclasses]
Output format name [default: dataclasses]
--repr / --no-repr
Generate __repr__ method [default: True]
--eq / --no-eq
Generate __eq__ method [default: True]
--order / --no-order
Generate __lt__, __le__, __gt__, and __ge__ methods [default: False]
--unsafe-hash / --no-unsafe-hash
Generate __hash__ method if not frozen [default: False]
--frozen / --no-frozen
Enable read only properties [default: False]
--slots / --no-slots
Enable __slots__, python>=3.10 Only [default: False]
--kw-only / --no-kw-only
Enable keyword only arguments, python>=3.10 Only [default: False]
-ss, --structure-style [filenames|namespaces|clusters|single-package|namespace-clusters]
Output structure style [default: filenames]
-ds, --docstring-style [reStructuredText|NumPy|Google|Accessible|Blank]
Docstring style [default: reStructuredText]
-fs, --filter-strategy [all|allGlobals|referredGlobals]
Class filter strategy [default: allGlobals]
--relative-imports / --no-relative-imports
Use relative imports [default: False]
--compound-fields / --no-compound-fields
Use compound fields for repeatable elements [default: False]
-mll, --max-line-length INTEGER
Adjust the maximum line length [default: 79]
--subscriptable-types / --no-subscriptable-types
Use PEP-585 generics for standard collections, python>=3.9 Only [default: False]
--union-type / --no-union-type
Use PEP-604 union type, python>=3.10 Only [default: False]
--postponed-annotations / --no-postponed-annotations
Enable postponed evaluation of annotations [default: False]
--unnest-classes / --no-unnest-classes
Move inner classes to upper level [default: False]
--ignore-patterns / --no-ignore-patterns
Ignore pattern restrictions [default: False]
--include-header / --no-include-header
Include a header with codegen information in the output [default: False]
24.1 2025-04-10 XSDATAGENERATE(1)