Create-Federation
The create-federation
command accepts the same flags as the create-app
command, and follows mostly the same behavior. The key difference is that this command accepts multiple project names following the services
flag, and will generate a project (with the specified profile and features) for each name supplied. The [NAME]
argument will be used to create the top-level multi-project build for the federation.
Flag | Description | Example |
---|---|---|
| Comma-separated list of services (applications) to create |
|
| Build tool (one of |
|
| Profile to use for all projects in the federation (default is |
|
| Features to use for all projects in the federation, comma-separated |
or
|
| If present, generates the project in the current directory (project name is optional if this flag is set) |
|
When creating a federation, a top-level project file will be generated (using the chosen build tool), and subprojects/modules will be created for each service in the federation.