zinkee 0.1.8 → 0.1.9

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 CHANGED
@@ -131,7 +131,7 @@ Simple field types use `--type`, `--slug`, `--label`:
131
131
 
132
132
  ```bash
133
133
  zinkee schemas fields create projects --type text --slug name --label "Name"
134
- zinkee schemas fields create projects --type number --slug budget --label "Budget"
134
+ zinkee schemas fields create projects --type number --slug budget --label "Budget" --required true --default 0
135
135
  zinkee schemas fields create projects --type date --slug start-date --label "Start Date"
136
136
  zinkee schemas fields create projects --type file --slug attachment --label "Attachment"
137
137
  zinkee schemas fields create projects --type autoincremental --slug code --label "Code"
@@ -188,6 +188,12 @@ zinkee schemas fields create projects --raw '{
188
188
 
189
189
  ### Update field config
190
190
 
191
+ Use `--default <value>` for the common default-value case:
192
+
193
+ ```bash
194
+ zinkee schemas fields update projects budget --default 0
195
+ ```
196
+
191
197
  PATCH bodies are flat (no `set` / `unset` wrapper). Config properties must be wrapped inside a `config` key:
192
198
 
193
199
  ```bash