ImportOptions
- class ImportOptions
Parsed arguments for the
syside reqif importsubcommand.Members defined in
ImportOptions(4 members)
RWDirectory to extract ReqIF attachments into. When
None, defaults to<cwd>/joined withsyside.reqif.ATTACHMENTS_DIRat run time (--attachments-dir).
RWPath to the
.reqifor.reqifzfile to import (positional).
RWWhen set, append a
__<6chars>suffix derived from each colliding element’s ReqIF identifier so that duplicated names — within the top-level ReqIF namespace, between Spec Relations and that namespace, or between Spec Relations inside one Relation Group — are made unique before validation. Use this for tools like Codebeamer that require LONG_NAME on every element but do not enforce its uniqueness (--resolve-duplicate-names).
Register this subcommand’s flags onto
parser.Members inherited from
OptionsBase(1 member)
from_argsRWBuild an options instance by pulling each dataclass field off
args. Attributes
- attachments_dir: pathlib.Path | None = None
Directory to extract ReqIF attachments into. When
None, defaults to<cwd>/joined withsyside.reqif.ATTACHMENTS_DIRat run time (--attachments-dir).
- file: pathlib.Path = None
Path to the
.reqifor.reqifzfile to import (positional).
- resolve_duplicate_names: bool = False
When set, append a
__<6chars>suffix derived from each colliding element’s ReqIF identifier so that duplicated names — within the top-level ReqIF namespace, between Spec Relations and that namespace, or between Spec Relations inside one Relation Group — are made unique before validation. Use this for tools like Codebeamer that require LONG_NAME on every element but do not enforce its uniqueness (--resolve-duplicate-names).
Methods
- static add_args(parser: argparse.ArgumentParser) None
Register this subcommand’s flags onto
parser.