sila2-codegen generate-feature-files
: Generate feature-specific files without a package¶
If you don’t want to use the package structure utilized by the other code generation commands and instead only want to generate the feature-spefific code, use this command.
Usage: sila2-codegen generate-feature-files [OPTIONS] [FEATURE_DEFINITIONS]...
Generate feature-specific Python files without generating a full server/client
package.
╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│ feature_definitions [FEATURE_DEFINITIONS].. SiLA 2 feature │
│ . definition files │
│ (*.sila.xml) │
│ [default: None] │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --output-directory -o TEXT Output directory │
│ [default: .] │
│ --overwrite --no-overwrite Overwrite existing files │
│ [default: no-overwrite] │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯