beamable / BeamableProduct

The beamable product suite including com.beamable, com.beamable.server, microservice base image, portal, the installer, and build scripts
Other
3 stars 0 forks source link

CLI - when running `beam project new X` as 0.0.123, auto add the `--beamable-dev` flag #3513

Open cdhanna opened 1 week ago

cdhanna commented 1 week ago

project new service|storage|common-lib should all auto default the --beamable-dev flag to true when the executing version is 0.0.123

We can set the default value on the option as a factory function that can read the version of the CLI itself; so when someone asks for the --help, they'll see the default value as TRUE if the version of the CLI is 0.0.123; but FALSE if the version is not 0.0.123. This means the option being provided still overrides the default behaviour.

cdhanna commented 1 week ago

we should add more comments into the beamable-dev version of the Dockerfile, that explain

  1. why its different
  2. how nuget packages need to be configured ahead of time (set-packages)
  3. how to modify the dockerfile to return to "normal" mode.