Skip to content

Commit 47f1e31

Browse files
docs: update commands to use package folders (#1915)
1 parent cb6a028 commit 47f1e31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/content/docs/tutorials/todos.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ mason add -g very_good_dart_package
165165
Then we can create the `todos_data_source` via:
166166

167167
```bash
168-
mason make very_good_dart_package --project_name "todos_data_source" --description "A generic interface for managing todos." -o packages
168+
mason make very_good_dart_package --project_name "todos_data_source" --description "A generic interface for managing todos." -o packages/todos_data_source
169169
```
170170

171171
:::note
@@ -406,7 +406,7 @@ From the root of the project we can use `mason make` to generate a new Dart
406406
package again:
407407

408408
```bash
409-
mason make very_good_dart_package --project_name "in_memory_todos_data_source" --description "An in-memory implementation of the TodosDataSource interface." -o packages
409+
mason make very_good_dart_package --project_name "in_memory_todos_data_source" --description "An in-memory implementation of the TodosDataSource interface." -o packages/in_memory_todos_data_source
410410
```
411411

412412
### Updating the `pubspec.yaml`

0 commit comments

Comments
 (0)