Problem:
Currently registry is hardcoded, the struct is very simple right now
|
type Registry []Stack |
|
type Stack struct { |
|
Name string |
|
ModuleSources []string |
|
} |
that means to build a module u must also build your own zero binary.
Potential solution:
Maybe we can allow something like ~/.zero-registry.yaml, we can just add some annotations to the struct and parse the config, allowing users to customize registry for their own use
Problem:
Currently registry is hardcoded, the struct is very simple right now
zero/internal/registry/registry.go
Lines 3 to 7 in 587d6f5
that means to build a module u must also build your own zero binary.
Potential solution:
Maybe we can allow something like ~/.zero-registry.yaml, we can just add some annotations to the struct and parse the config, allowing users to customize registry for their own use