This is an automated email from the ASF dual-hosted git repository.

tison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new b4876fa7841 Add doc for Pulsar shell clone (#303)
b4876fa7841 is described below

commit b4876fa7841f7559759077d706ce984a494687ab
Author: Nicolò Boschi <[email protected]>
AuthorDate: Fri Nov 25 09:59:23 2022 +0100

    Add doc for Pulsar shell clone (#303)
---
 .../reference/next/pulsar-shell/pulsar-shell.md    | 24 +++++++++++-----------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git 
a/site2/website-next/static/reference/next/pulsar-shell/pulsar-shell.md 
b/site2/website-next/static/reference/next/pulsar-shell/pulsar-shell.md
index abac71a4411..54860c7df36 100644
--- a/site2/website-next/static/reference/next/pulsar-shell/pulsar-shell.md
+++ b/site2/website-next/static/reference/next/pulsar-shell/pulsar-shell.md
@@ -10,8 +10,6 @@ Usage
 pulsar-shell
 ```
 
-Options
-
 | Flag               | Description                                             
                  | Default          |
 
|--------------------|---------------------------------------------------------------------------|------------------|
 | `-c`, `--config`   | Client configuration file. It is used as a `default` 
config.           | conf/client.conf | 
@@ -29,8 +27,6 @@ pulsar-shell -e [COMMAND]
 echo "[COMMAND]" | pulsar-shell -
 ```
 
-Options
-
 | Flag                      | Description                                      
                                                   | Default         |
 
|---------------------------|-----------------------------------------------------------------------------------------------------|-----------------|
 | `-c`, `--config`          | Client configuration file. It is used as a 
`default` config.                                     | conf/client.conf | 
@@ -68,14 +64,24 @@ Create a new configuration.
 default(localhost)> config create --file ./conf/client.conf mycluster
 ```
 
-Options
-
 | Flag     | Description              | Default         |
 |----------|--------------------------|-----------------|
 | `--file` | File path of the config. |  | 
 | `--url`  | URL of the config.       |  |
 | `--value`  | Inline value of the config. Base64-encoded value is supported 
with the prefix `base64:`. |  |
 
+#### `clone`
+
+Create a new configuration cloning an existing one.
+
+```bash
+default(localhost)> config clone mycluster --name mycluster2
+```
+
+| Flag     | Description              | Default         |
+|----------|--------------------------|-----------------|
+| `--name` | Name of the new config.  |                 | 
+
 #### `update`
 
 Update an existing configuration.
@@ -84,8 +90,6 @@ Update an existing configuration.
 default(localhost)> config update --file ./conf/client.conf mycluster
 ```
 
-Options
-
 | Flag     | Description              | Default         |
 |----------|--------------------------|-----------------|
 | `--file` | File path of the config. |  | 
@@ -100,8 +104,6 @@ Set a value for a specified configuration property.
 default(localhost)> config set-property -p webServiceUrl -v 
http://<cluster-hostname> mycluster
 ```
 
-Options
-
 | Flag               | Description                 | Default         |
 |--------------------|-----------------------------|-----------------|
 | `-p`, `--property` | Property name to update.    |  | 
@@ -116,8 +118,6 @@ Get the value for a specified configuration property.
 default(localhost)> config get-property -p webServiceUrl mycluster
 ```
 
-Options
-
 | Flag               | Description                 | Default         |
 |--------------------|-----------------------------|-----------------|
 | `-p`, `--property` | Property name to update.    |  | 

Reply via email to