From 08d3a9f867bd92dafa3dc5ccc61254d25993130e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Fri, 11 Oct 2024 16:53:42 +0200 Subject: autogenerate collection item IDs --- docs/get-started-cli.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') 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" -- cgit v1.2.3