sila2-codegen new-package: Generate new SiLA 2 Server/Client package

Use this command to generate a full SiLA application.

                                                                                
 Usage: sila2-codegen new-package [OPTIONS] [FEATURE_DEFINITIONS]...            
                                                                                
 Generate a SiLA 2 Server/Client Python package from given feature definitions  
                                                                                
╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│   feature_definitions      [FEATURE_DEFINITIONS]..  SiLA 2 feature           │
│                            .                        definition files         │
│                                                     (*.sila.xml)             │
│                                                     [default: None]          │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ *  --package-name      -n                         TEXT  Package name         │
│                                                         [default: None]      │
│                                                         [required]           │
│    --output-directory  -o                         TEXT  Package directory    │
│                                                         (will contain setup  │
│                                                         files)               │
│                                                         [default: .]         │
│    --overwrite             --no-overwrite               Overwrite existing   │
│                                                         files                │
│                                                         [default:            │
│                                                         no-overwrite]        │
│    --generate-main         --no-generate-main           Generate __main__.py │
│                                                         to make the package  │
│                                                         executable           │
│                                                         [default:            │
│                                                         generate-main]       │
│    --git                   --no-git                     Generate .gitignore  │
│                                                         and README.md        │
│                                                         [default: no-git]    │
│    --lock-controller       --no-lock-controll…          Add default          │
│                                                         implementation of    │
│                                                         the core feature     │
│                                                         LockController       │
│                                                         [default:            │
│                                                         no-lock-controller]  │
│    --auth-features         --no-auth-features           Add default          │
│                                                         implementations of   │
│                                                         the core features    │
│                                                         AuthenticationServi… │
│                                                         AuthorizationProvid… │
│                                                         and                  │
│                                                         AuthorizationService │
│                                                         [default:            │
│                                                         no-auth-features]    │
│    --help                                               Show this message    │
│                                                         and exit.            │
╰──────────────────────────────────────────────────────────────────────────────╯

Note

You do not have to provide any features when generating the package. You can always add more features by using the sila2-codegen add-features command.