project-flogo / cli

CLI used to create & build Flogo applications.
BSD 3-Clause "New" or "Revised" License
32 stars 36 forks source link

Fix issue #117 Specify base go.mod for app creation #119

Open yxuco opened 3 years ago

yxuco commented 3 years ago
lixingwang commented 3 years ago

@yxuco This feature only for specifying the version of flow and core right? We do have an option --cv to specify the core version. what exactly the issue or use case you want to achieve here? by exposing go.mod file which too technical for the user I think

yxuco commented 3 years ago

--cv is not flexible enough to override other things. For example, I need to build package with shim trigger that requires patches for both flogo/core and flogo/flow versions, as well as changing the module name of the resulting package. It would be simpler to allow a startup mod file that overrides all these attributes, instead of providing multiple flags to override individual attributes such as --cv.

lixingwang commented 3 years ago

@mellistibco thoughts?