ExportOptions
- class ExportOptions
Parsed arguments for the
syside reqif exportsubcommand.Members defined in
ExportOptions(7 members)
RWDirectory to collect ReqIF attachments into. When
None, defaults to<cwd>/joined withsyside.reqif.ATTACHMENTS_DIRat run time (--attachments-dir).
RWHuman-readable free-form description of the ReqIF Exchange Document. Optional.
RWPath to the exported
.reqifor.reqifzfile.
RWIdentifier of the repository from which this ReqIF Exchange Document was created. E.g. a UUID, URL. Optional.
RWWhether to export as
.reqifzor.reqif. Default: False.
RWHuman-readable title for the ReqIF Exchange Document. Required.
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 collect ReqIF attachments into. When
None, defaults to<cwd>/joined withsyside.reqif.ATTACHMENTS_DIRat run time (--attachments-dir).Note: collection is dumb – it will collect all files in the directory regardless of whether they are mentioned in the SysMLv2 model or not. Avoid setting this path to the current working directory, as it will collect all SysMLv2 files as well.
- comment: str | None = None
Human-readable free-form description of the ReqIF Exchange Document. Optional.
- file: pathlib.Path = None
Path to the exported
.reqifor.reqifzfile.
- repository_id: str | None = None
Identifier of the repository from which this ReqIF Exchange Document was created. E.g. a UUID, URL. Optional.
- reqifz: bool = None
Whether to export as
.reqifzor.reqif. Default: False.
- title: str = None
Human-readable title for the ReqIF Exchange Document. Required.
Methods
- static add_args(parser: argparse.ArgumentParser) None
Register this subcommand’s flags onto
parser.