parse method

Future<MetaServer> parse()

Implementation

Future<MetaServer> parse() async {
  final root = await rootOf(rootPath);

  await analyzer.initialize(root: rootPath);

  final (:routes, :apps) = await _getRoutes(root);

  final publicRoutes = await _getPublic(root);

  return MetaServer(routes: routes, apps: apps, public: publicRoutes);
}