diff --git a/CHANGELOG.md b/CHANGELOG.md index 049536c..b4a61db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.101 (November 14, 2022) + +- docs: polish blocklet cli + ## 0.1.100 (November 10, 2022) - docs: Part send notification document content, add code and screenshots diff --git a/developer/docs/blocklet.yml b/developer/docs/blocklet.yml index 75c6414..3125ca1 100644 --- a/developer/docs/blocklet.yml +++ b/developer/docs/blocklet.yml @@ -14,7 +14,7 @@ repository: type: git url: git+https://github.com/blocklet/blocklet-site.git specVersion: 1.2.7 -version: 0.1.100 +version: 0.1.101 logo: logo.png files: - hooks/post-start.js diff --git a/developer/docs/pages/reference/blocklet-cli/index.md b/developer/docs/pages/reference/blocklet-cli/index.md index 81d6534..f08ef49 100644 --- a/developer/docs/pages/reference/blocklet-cli/index.md +++ b/developer/docs/pages/reference/blocklet-cli/index.md @@ -7,7 +7,7 @@ layout: documentation Blocklet CLI provides `blocklet` command-line tool for controlling and administering Blocklets. Use the following syntax to run `blocklet` commands from your terminal: ```bash -blocklet [options] [command] +$ blocklet [options] [command] ``` You can use the `-h` or `--help` to determine the full list of supported commands. @@ -36,19 +36,34 @@ $ blocklet create Develop blocklet from current directory ```bash -blocklet dev +$ blocklet dev + +ℹ Try to dev blocklet from xxxxxxxx + +ℹ Node DID from config xxxxxx +ℹ Node config from xxxxxx +✔ Installing blocklet-developer-docs@0.1.0... Done in 0.31s +✔ Blocklet blocklet-developer-docs@0.1.0 was successfully installed + +... + +✔ Blocklet blocklet-developer-docs@0.1.0 was successfully started + +ℹ You can access with the following URL + +- http://xxxxxx-xxxxxxxxxxxxxxxxxxxx.did.abtnet.io ``` Open the browser after blocklet had been started ```bash -blocklet dev --open +$ blocklet dev --open ``` Develop blocklet as a component ```bash -blocklet dev --app-id --mount-point /xxx +$ blocklet dev --app-id --mount-point /xxx ``` - `blocklet-app-id` can be viewed in the blocklet details page @@ -59,7 +74,7 @@ blocklet dev --app-id --mount-point /xxx Execute script in blocklet running context ```bash -blocklet exec