Skip to content

Commit f61e89a

Browse files
committed
feat: update doc and bin
1 parent 4f02ea1 commit f61e89a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
> 使用add命令时,会自动添加一条 127.0.0.1 localhost
88
99
```
10-
sudo npx hostcli add 127.0.0.1 test
10+
sudo npx easy-host-cli add 127.0.0.1 test
1111
```
1212

1313
删除一个host
1414

1515
```
16-
sudo npx hostcli rm 127.0.0.1 test
16+
sudo npx easy-host-cli rm 127.0.0.1 test
1717
```
1818

1919
删除一个ip下的所有host
2020

2121
```
22-
sudo npx hostcli rm 127.0.0.1
22+
sudo npx easy-host-cli rm 127.0.0.1
2323
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"type": "module",
77
"bin": {
8-
"host-cli": "bin/cli.cjs"
8+
"easy-host-cli": "bin/cli.cjs"
99
},
1010
"scripts": {
1111
"build": "tsup",

0 commit comments

Comments
 (0)