@nacos-group/cli 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -5
- package/bin/cli.js +1 -1
- package/build/{nacos-cli-1.0.0-darwin-amd64 → nacos-cli-1.0.1-darwin-amd64} +0 -0
- package/build/{nacos-cli-1.0.0-darwin-arm64 → nacos-cli-1.0.1-darwin-arm64} +0 -0
- package/build/{nacos-cli-1.0.0-linux-amd64 → nacos-cli-1.0.1-linux-amd64} +0 -0
- package/build/{nacos-cli-1.0.0-linux-arm64 → nacos-cli-1.0.1-linux-arm64} +0 -0
- package/build/{nacos-cli-1.0.0-windows-amd64.exe → nacos-cli-1.0.1-windows-amd64.exe} +0 -0
- package/build/{nacos-cli-1.0.0-windows-arm64.exe → nacos-cli-1.0.1-windows-arm64.exe} +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -249,9 +249,9 @@ nacos> quit # Exit terminal
|
|
|
249
249
|
|
|
250
250
|
| Flag | Short | Default | Description |
|
|
251
251
|
|------|-------|---------|-------------|
|
|
252
|
-
| --host | | 127.0.0.1 | Nacos server host |
|
|
253
|
-
| --port | | 8848 | Nacos server port |
|
|
254
|
-
| --server | -s |
|
|
252
|
+
| --host | | market.hiclaw.io when `--host` and `--port` are both omitted; otherwise 127.0.0.1 when only `--port` is provided | Nacos server host |
|
|
253
|
+
| --port | | 80 when `--host` and `--port` are both omitted; otherwise 8848 when omitted after `--host` | Nacos server port |
|
|
254
|
+
| --server | -s | market.hiclaw.io:80 when no host/port is provided | Nacos server address (deprecated, use --host and --port) |
|
|
255
255
|
| --username | -u | nacos | Nacos username |
|
|
256
256
|
| --password | -p | nacos | Nacos password |
|
|
257
257
|
| --namespace | -n | (empty/public) | Nacos namespace ID |
|
|
@@ -306,7 +306,9 @@ Configuration values are applied in the following priority order:
|
|
|
306
306
|
|
|
307
307
|
For example:
|
|
308
308
|
- `nacos-cli --config ./local.conf --host 10.0.0.1` - Uses `10.0.0.1` from command line, other values from config file
|
|
309
|
-
- `nacos-cli
|
|
309
|
+
- `nacos-cli` - Uses default `market.hiclaw.io:80` when neither `--host` nor `--port` is provided
|
|
310
|
+
- `nacos-cli --host 127.0.0.1` - Uses `127.0.0.1:8848` because `--host` was provided without `--port`
|
|
311
|
+
- `nacos-cli --port 8849` - Uses `127.0.0.1:8849` because only `--port` was provided
|
|
310
312
|
- `nacos-cli --config ./local.conf` - Uses all values from config file
|
|
311
313
|
|
|
312
314
|
## Project Structure
|
|
@@ -397,4 +399,4 @@ MIT License
|
|
|
397
399
|
|
|
398
400
|
- Initial Python version release
|
|
399
401
|
- Basic configuration management
|
|
400
|
-
- Basic service discovery
|
|
402
|
+
- Basic service discovery
|
package/bin/cli.js
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|