You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Support the `-components` flag on `dsk`, to allow passing
a path to a pre-build component bundle output directory.
- Provide playground handlers.
- Refactor `<Playground>`
- Use IFrame in Playground
Unrelated:
- Deprecate Node.components response property.
- Improve routing techniques, by using sub routers and allow
us to extract route params.
- Rename flag variables.
- Pass more parent and current node into documentation components.
- Nodes now have an `id` that can be used to adress them. Although not
from the outside.
fnoColor:=flag.Bool("no-color", false, "disables color output")
65
+
fcomponents:=flag.String("components", "", "path to component library assets")
65
66
ffrontend:=flag.String("frontend", "", "path to a frontend, to use instead of the built-in")
66
67
fallowOrigin:=flag.String("allow-origin", "", "origins from which browsers can access the HTTP API; for multiple origins, use a comma as a separator, the wildcard * is supported; to allow all use *")
67
68
flag.Parse()
@@ -70,14 +71,14 @@ func main() {
70
71
log.Fatalf("Too many arguments given, expecting exactly 0 or 1")
71
72
}
72
73
73
-
if*version {
74
+
if*fversion {
74
75
fmt.Println(Version)
75
76
os.Exit(1)
76
77
}
77
78
78
79
// Color package automatically disables colors when not a TTY. We
79
80
// don't need to check for an interactive terminal here again.
0 commit comments