ImportOptions

class ImportOptions

Parsed arguments for the syside reqif import subcommand.

%3 ImportOptions ImportOptions syside.reqif.ImportOptions OptionsBase OptionsBase syside.reqif.OptionsBase OptionsBase->ImportOptions
Members defined in ImportOptions (3 members)

attachments_dir

RW

Directory to extract ReqIF attachments into. When None, defaults to <cwd>/ joined with syside.reqif.ATTACHMENTS_DIR at run time (--attachments-dir).

file

RW

Path to the .reqif or .reqifz file to import (positional).

add_args

Register this subcommand’s flags onto parser.

Members inherited from OptionsBase (1 member)

from_args

RW

Build 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 with syside.reqif.ATTACHMENTS_DIR at run time (--attachments-dir).

file: pathlib.Path = None

Path to the .reqif or .reqifz file to import (positional).

Methods

static add_args(parser: argparse.ArgumentParser) None

Register this subcommand’s flags onto parser.

Used in