Skip to content

dev/sg: remove parseCSV from flags

Administrator requested to merge sg-start-remove-parse-csv into main

Created by: bobheadxi

Both comma-delimited and multiple arguments are supported out of the box :)

Test plan

Comma-delimited:

➜  sourcegraph git:(main) ✗ go run ./dev/sg start -e enterprise-frontend,enterprise-worker
💡 Running 4 checks...
✅ Check "redis" success!
✅ Check "postgres" success!
✅ Check "git" success!
✅ Check "docker" success!
Setting log level: error for command enterprise-frontend.
Setting log level: error for command enterprise-worker.

Multiple args:

➜  sourcegraph git:(main) ✗ go run ./dev/sg start -e enterprise-frontend -e enterprise-worker
💡 Running 4 checks...
✅ Check "git" success!
✅ Check "docker" success!
✅ Check "redis" success!
✅ Check "postgres" success!
Setting log level: error for command enterprise-frontend.
Setting log level: error for command enterprise-worker.

Merge request reports

Loading