@@ -27,9 +27,11 @@ import (
2727
2828const (
2929 twoskyConfFile = "./.twosky.json"
30+ // TODO: Update localesDir to "./client_v2/src/__locales" for new frontend migration
3031 localesDir = "./client/src/__locales"
3132 defaultBaseFile = "en.json"
3233 defaultProjectID = "home"
34+ // TODO: Update srcDir to "./client_v2/src" for new frontend migration
3335 srcDir = "./client/src"
3436 twoskyURI = "https://twosky.int.agrd.dev/api/v1"
3537
@@ -77,6 +79,8 @@ func main() {
7779 usage ("" )
7880 }
7981
82+ // TODO: Support multiple projects in .twosky.json - add PROJECT_ID env var to select between 'home' and 'home_v2'
83+ // TODO: Modify readTwoskyConfig() to return all configs and add selectProject() function
8084 conf := errors .Must (readTwoskyConfig ())
8185
8286 var cli * twoskyClient
@@ -106,6 +110,7 @@ func main() {
106110// usage prints usage. If addStr is not empty print addStr and exit with code
107111// 1, otherwise exit with code 0.
108112func usage (addStr string ) {
113+ // TODO: Add PROJECT_ID environment variable documentation when multi-project support is implemented
109114 const usageStr = `Usage: go run main.go <command> [<args>]
110115Commands:
111116 help
@@ -161,6 +166,7 @@ func readTwoskyConfig() (t *twoskyConfig, err error) {
161166 return nil , fmt .Errorf ("%q is empty" , twoskyConfFile )
162167 }
163168
169+ // TODO: Currently only uses first project - modify to support project selection
164170 conf := tsc [0 ]
165171
166172 for _ , lang := range conf .Languages {
0 commit comments