Skip to content

Commit 334c18f

Browse files
authored
Update README.md instructions gen-barrel
1 parent d2c02dc commit 334c18f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A tool to generate index/exports files also known as barrel files for all Dart f
1616
1. No need to add this package to your `pubspec.yaml`.
1717
2. Activate it by running: `dart pub global activate df_generate_dart_indexes`.
1818
3. In your project, open a terminal in the desired folder (Tip: In VS Code, right-click a folder and select `"Open in Integrated Terminal"`).
19-
4. Run gen-indexes to create an `_index.g.dart` file at the current location. Alternatively, use `gen-indexes-basename` to generate a barrel file matching the folder’s base name, e.g. `_src.g.dart` or `_widgets.g.dart`.
19+
4. Run gen-indexes to create an `_index.g.dart` file at the current location. Alternatively, use `gen-barrel` to generate a barrel file matching the folder’s base name, e.g. `_src.g.dart` or `_widgets.g.dart`.
2020
5. Bonus: You can also generate TypeScript index files by running `gen-indexes-ts`.
2121

2222
### Note:

0 commit comments

Comments
 (0)