bcmd 0.6.15__tar.gz → 0.6.16__tar.gz
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.
Potentially problematic release.
This version of bcmd might be problematic. Click here for more details.
- {bcmd-0.6.15 → bcmd-0.6.16}/PKG-INFO +1 -1
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/tasks/upgrade.py +6 -3
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd.egg-info/PKG-INFO +1 -1
- {bcmd-0.6.15 → bcmd-0.6.16}/pyproject.toml +1 -1
- {bcmd-0.6.15 → bcmd-0.6.16}/MANIFEST.in +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/README.md +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/__init__.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/common/__init__.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/common/func.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/common/secret.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/resources/project/main.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/tasks/__init__.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/tasks/bin.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/tasks/code.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/tasks/crypto.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/tasks/docs.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/tasks/download.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/tasks/image.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/tasks/json.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/tasks/lib.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/tasks/math.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/tasks/mirror.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/tasks/pdf.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/tasks/proxy.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/tasks/time.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/tasks/wasabi.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/tasks/wslProxy.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/utils/__init__.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd/utils/utils.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd.egg-info/SOURCES.txt +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd.egg-info/dependency_links.txt +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd.egg-info/entry_points.txt +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd.egg-info/requires.txt +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/bcmd.egg-info/top_level.txt +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/setup.cfg +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/test/__init__.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/test/conftest.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/test/test_pdf.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/test/test_proxy.py +0 -0
- {bcmd-0.6.15 → bcmd-0.6.16}/test/test_wasabi.py +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
from typing import Final
|
|
2
2
|
|
|
3
|
+
import pyperclip
|
|
3
4
|
import typer
|
|
4
|
-
from beni import bcolor, btask
|
|
5
|
+
from beni import bcolor, btask
|
|
5
6
|
from beni.bfunc import syncCall
|
|
6
7
|
|
|
7
8
|
app: Final = btask.app
|
|
@@ -14,5 +15,7 @@ async def upgrade(
|
|
|
14
15
|
):
|
|
15
16
|
'使用 uv 官方源更新指定包到最新版本'
|
|
16
17
|
cmd = f'uv tool install -U --index https://pypi.org/simple {name}'
|
|
17
|
-
|
|
18
|
-
bcolor.printGreen(
|
|
18
|
+
pyperclip.copy(cmd + '\n')
|
|
19
|
+
bcolor.printGreen(cmd)
|
|
20
|
+
bcolor.printGreen('已复制到剪贴板(需要手动执行)')
|
|
21
|
+
bcolor.printGreen('OK')
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|