Skip to content

Commit e60281c

Browse files
authored
chore(dart_frog_gen): add example (#17)
1 parent 69ce4c6 commit e60281c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import 'dart:io';
2+
3+
import 'package:dart_frog_gen/dart_frog_gen.dart';
4+
5+
void main() {
6+
final routeConfiguration = buildRouteConfiguration(Directory.current);
7+
stdout.writeln(routeConfiguration.toString());
8+
}

packages/dart_frog_gen/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: dart_frog_gen
2-
description: Code generation tooling for dart_frog
2+
description: Code generation tooling for Dart Frog. Built by Very Good Ventures.
33
version: 0.0.1-dev.2
44
homepage: https://github.com/VeryGoodOpenSource/dart_frog
55

0 commit comments

Comments
 (0)