Skip to content

Commit 06086c8

Browse files
committed
feat: add short alias
1 parent 8dc5b33 commit 06086c8

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ sudo ln -sf $(which sing-box-cli) /usr/local/bin/
4040
Windows in Admin powershell
4141

4242
```powershell
43-
sing-box-cli --help
43+
sbc --help
4444
```
4545

4646
Linux
4747

4848
```bash
49-
sudo sing-box-cli --help
49+
sudo sbc --help
5050
```

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Changelog = "https://github.com/atticuszz/sing-box-service/blob/main/CHANGEL
3939

4040
[project.scripts] # build-backend config needed
4141
sing-box-cli = "sing_box_cli:main" # equal to from python import main; then run main()
42+
sbc = "sing_box_cli:main" # short alias for convenience
4243
# FROM: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
4344

4445
[tool.uv]

sing-box-tmp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit f56d9ab94569d46a48bfc2bcd97eea566ad365c8

0 commit comments

Comments
 (0)