From 5fa5dca35e6de6c7f17fcb9544435d210cc8b958 Mon Sep 17 00:00:00 2001 From: Punit Kulal Date: Mon, 24 Jul 2023 18:16:32 +0530 Subject: [PATCH] fix: cli quickstart doc --- docs/docs/guides/1_quickstart.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/docs/guides/1_quickstart.md b/docs/docs/guides/1_quickstart.md index 73d56dab..6aa15944 100644 --- a/docs/docs/guides/1_quickstart.md +++ b/docs/docs/guides/1_quickstart.md @@ -121,27 +121,29 @@ $ echo "{ ```bash +# --host does not contain the protocol scheme http:// since they internally use GRPC. + # Create namespace named "quickstart" with backward compatibility enabled -$ stencil namespace create quickstart -c COMPATIBILITY_BACKWARD -f FORMAT_PROTOBUF -d "For quickstart guide" --host http://localhost:8000 +$ stencil namespace create quickstart -c COMPATIBILITY_BACKWARD -f FORMAT_PROTOBUF -d "For quickstart guide" --host localhost:8000 # List namespaces -$ stencil namespace list --host http://localhost:8000 +$ stencil namespace list --host localhost:8000 # Upload generated schema proto descriptor file to server with schema name as `example` under `quickstart` namespace. $ stencil schema create example --namespace=quickstart –-filePath=schema.desc # Get list of schemas available in a namespace -$ stencil schema list --host http://localhost:8000 +$ stencil schema list --host localhost:8000 # Get list of versions available for particular schema. These versions are auto generated. # Version numbers managed by stencil. -$ stencil schema version example -n quickstart --host http://localhost:8000 +$ stencil schema version example -n quickstart --host ocalhost:8000 # Download specific version of particular schema -$ stencil schema get example --version 1 --host http://localhost:8000 +$ stencil schema get example --version 1 --host localhost:8000 # Download latest version of particular schema -$ stencil schema get example -n quickstart --host http://localhost:8000 +$ stencil schema get example -n quickstart --host localhost:8000 ```