supatool 0.1.22 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -9
- package/package.json +1 -1
package/README.md
CHANGED
@@ -29,21 +29,25 @@ supatool crud
|
|
29
29
|
|
30
30
|
3. Subcommands
|
31
31
|
|
32
|
-
For more extensible, execute with subcommands:
|
32
|
+
For more extensible usage, execute with subcommands:
|
33
33
|
|
34
|
-
- Show help text for all commands
|
35
|
-
|
34
|
+
- Show help text for all commands:
|
35
|
+
```sh
|
36
|
+
supatool help
|
37
|
+
```
|
36
38
|
|
37
|
-
-
|
38
|
-
|
39
|
+
- Specify input and output folder:
|
40
|
+
```sh
|
41
|
+
supatool -i path/to/type -o path/to/export
|
42
|
+
```
|
39
43
|
|
40
|
-
|
41
|
-
|
42
|
-
|
44
|
+
For detailed usage, see:
|
45
|
+
- [src/bin/helptext.ts](./src/bin/helptext.ts) (for development)
|
46
|
+
- [dist/bin/helptext.js](./dist/bin/helptext.js) (for npm package)
|
43
47
|
|
44
48
|
## Note: Supabase Client Requirement
|
45
49
|
|
46
|
-
The generated CRUD code assumes that a Supabase client is defined in
|
50
|
+
The generated CRUD code assumes that a Supabase client is defined in ../client.ts (relative to the export folder).
|
47
51
|
Example:
|
48
52
|
|
49
53
|
```ts
|
package/package.json
CHANGED