{"modulePath":"github.com/obcode/plexams.go","version":"v1.247.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package bootstrap\n\nPackage bootstrap wires up the plexams GraphQL server: it loads the lean bootstrap config (.plexams.yaml, credentials, db.uri), resolves/pins the active semester, constructs the \\*plexams.Plexams instance and starts the HTTP/GraphQL server.\n\nThis replaces the former Cobra CLI: plexams is now a server-only tool driven entirely through the GraphQL/REST API (consumed by plexams.gui). The only command-line surface left is the three bootstrap flags below.\n\n## Functions\n\n```go\nfunc Serve() error\n```\nServe parses the bootstrap flags, loads the config, constructs the Plexams instance and starts the GraphQL server. It blocks until the server is shut down.\n\n","path":"github.com/obcode/plexams.go/bootstrap","name":"bootstrap","synopsis":"Package bootstrap wires up the plexams GraphQL server: it loads the lean bootstrap config (.plexams.yaml, credentials, db.uri), resolves/pins the active semester, constructs the *plexams.Plexams instance and starts the HTTP/GraphQL server.","isRedistributable":true}
