clp
clp copied to clipboard
package: Add `--exclude` option to exclude components from being started.
Description
When developing / testing certain components which provide a live reload debug server, other CLP components also need to be started for functionality verifications. Previously, developers have been starting the whole CLP package and later stopping the component(s) to be debugged, to avoid resource (e.g. TCP host + port) conflicts. The approach works but has proven to be inconvenience and prone to manual errors. This PR:
- Add
--exclude
option to exclude components from being started.
Validation performed
- Built the package.
cd <clp-root> task
- Started the package, excluding components
webui
andlog_viewer_webui
.cd build/clp-package/sbin ./start-clp.sh --exclude webui log_viewer_webui
- Observed all components started except
webui
andlog_viewer_webui
.