Skip to content

Commit

Permalink
Update README.md with instructions for non-Flutter projects
Browse files Browse the repository at this point in the history
  • Loading branch information
mmvergara committed Jun 22, 2024
1 parent c31833d commit 23a743d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ supadart -e path/to/.env
supadart -u <your-supabase-url> -k <your-supabase-anon-key>
```

> Note: If you are not using Flutter, just normal Dart project, add `-d` option
#### Options

```bash
Expand All @@ -94,6 +96,8 @@ supadart -u <your-supabase-url> -k <your-supabase-anon-key>
-u, --url Supabase URL -- (default: .env SUPABASE_URL)
-k, --key Supabase ANON KEY -- (default: .env SUPABASE_ANON_KEY)
-o, --output Output file path -- (default: lib/generated_classes.dart)
-d, --dart Enable if you are not using Flutter, just normal Dart project
-v, --version v1.2.0
```
---
Expand All @@ -114,7 +118,7 @@ create table
) tablespace pg_default;
```
### 2. Use the CLI or the Web App to [generate dart classes](#generate-dart-classes)
### 2. Use the CLI or the Web App to [generate dart classes](#generating-dart-classes)
```dart
class Books {
Expand Down

0 comments on commit 23a743d

Please sign in to comment.