Project New Service
Create a new microservice project
beam project new service <name> [options]
About
Create a new microservice project
Arguments
Name | Type | Description |
---|---|---|
name | ServiceName | Name of the new project |
Options
Name | Type | Description |
---|---|---|
--sln | String | Relative path to the .sln file to use for the new project. If the .sln file does not exist, it will be created. When no option is configured, if this command is executing inside a .beamable folder, then the first .sln found in .beamable/.. will be used. If no .sln is found, the .sln path will be .sln. If no .beamable folder exists, then the /.sln will be used |
--service-directory | String | Relative path to directory where project should be created. Defaults to "SOLUTION_DIR/services" |
--version | PackageVersion | Specifies version of Beamable project dependencies. Defaults to the current version of the CLI |
--generate-common | Boolean | If passed, will create a common library for this project |
--beamable-dev | Boolean | INTERNAL This enables a sane workflow for beamable developers to be happy and productive |
--dryrun | Boolean | Should any networking happen? |
--cid | String | Cid to use; will default to whatever is in the file system |
--pid | String | Pid to use; will default to whatever is in the file system |
--quiet | Boolean | When true, skip input waiting and use defaults |
--host | String | The host endpoint for beamable |
--refresh-token | String | Refresh token to use for the requests |
--log | String | Extra logs gets printed out |
--dir | String | Directory to use for configuration |
--raw | Boolean | Output raw JSON to standard out. This happens by default when the command is being piped |
--pretty | Boolean | Output syntax highlighted box text. This happens by default when the command is not piped |
--dotnet-path | String | a custom location for dotnet |
--version | Boolean | Show version information |
--help | Boolean | Show help and usage information |
Parent Command
Updated 4 months ago