diff options
author | Kierán Meinhardt <kmein@posteo.de> | 2024-10-11 16:53:42 +0200 |
---|---|---|
committer | Kierán Meinhardt <kmein@posteo.de> | 2024-10-11 16:53:42 +0200 |
commit | 08d3a9f867bd92dafa3dc5ccc61254d25993130e (patch) | |
tree | 8a4336f91d55cf82581f80c59b867c16913d338c /docs | |
parent | 4e2bca263be212f5795b845a68cf218ff237d8ab (diff) |
autogenerate collection item IDs
Diffstat (limited to 'docs')
-rw-r--r-- | docs/get-started-cli.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/get-started-cli.md b/docs/get-started-cli.md index ddf5102..93806c4 100644 --- a/docs/get-started-cli.md +++ b/docs/get-started-cli.md @@ -13,7 +13,7 @@ export ACMS_CONTENT=$PWD/content ## Create a restaurant collection type ```console -acms collection insert restaurant/1.json <<'EOF' +acms collection add restaurant <<'EOF' { "name": "Biscotte Restaurant", "description": "Welcome to Biscotte restaurant! Restaurant Biscotte offers a cuisine based on fresh, quality products, often local, organic when possible, and always produced by passionate producers." @@ -24,7 +24,7 @@ EOF ## Create a category collection type ```console -acms collection insert category/1.json <<'EOF' +acms collection add category <<'EOF' { "name": "French Food", "restaurant": "1.json" @@ -33,7 +33,7 @@ EOF ``` ```console -acms collection insert category/2.json <<'EOF' +acms collection add category <<'EOF' { "name": "Brunch", "restaurant": "1.json" |