bcmd 0.6.15__py3-none-any.whl → 0.6.16__py3-none-any.whl

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/tasks/upgrade.py CHANGED
@@ -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, brun
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
- await brun.run(cmd)
18
- bcolor.printGreen('OK')
18
+ pyperclip.copy(cmd + '\n')
19
+ bcolor.printGreen(cmd)
20
+ bcolor.printGreen('已复制到剪贴板(需要手动执行)')
21
+ bcolor.printGreen('OK')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcmd
3
- Version: 0.6.15
3
+ Version: 0.6.16
4
4
  Summary: Commands for Beni
5
5
  Author-email: Beni Mang <benimang@126.com>
6
6
  Maintainer-email: Beni Mang <benimang@126.com>
@@ -17,7 +17,7 @@ bcmd/tasks/mirror.py,sha256=nAe8NYftMKzht16MFBj7RqXwvVhR6Jh2uuAyJLh87og,1098
17
17
  bcmd/tasks/pdf.py,sha256=fkHRgxqzrRxdb4_-9pL9wp2roqAHJPS_dVqAGJvRUsM,1504
18
18
  bcmd/tasks/proxy.py,sha256=B85ebW_XPo_21j0YKf3oOK-8Crr85ezaPeZZnbnvO4E,1896
19
19
  bcmd/tasks/time.py,sha256=ZiqA1jdgl-TBtFSOxxP51nwv4g9iZItmkFKpf9MKelk,2453
20
- bcmd/tasks/upgrade.py,sha256=mugcZNt3l82kMAPf-RANVawVSEPQP3h2lAjVZbU_tkA,426
20
+ bcmd/tasks/upgrade.py,sha256=nyhcl5oGAUnOOR8JJZW2jfepcVJ6O9gufK8VgxUeil0,543
21
21
  bcmd/tasks/wasabi.py,sha256=xWFAxprSIlBqDDMGaNXZFb-SahnW1d_R9XxSKRYIhnM,3110
22
22
  bcmd/tasks/wslProxy.py,sha256=1i1oyeNzUlmJS0QHv5XQABANiy9i_o-IpE3lymHUBJc,2009
23
23
  bcmd/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -27,8 +27,8 @@ test/conftest.py,sha256=grlPunlsvrkt_8QPckmF4POiKUPVxIxm2TPAh_ZB-zs,405
27
27
  test/test_pdf.py,sha256=7yYlfydyhy2dmVYdTA5Vir2AI8TUdzEi55fL-AqJmio,1533
28
28
  test/test_proxy.py,sha256=UMF2hFFGUEbJR1jT2mO_wdo-7Rfp0NDqIdTRnOmwtjY,164
29
29
  test/test_wasabi.py,sha256=qqXG1Kb9hKH6t624R173j6LagkgmejN0CFYt7kL0nNs,1066
30
- bcmd-0.6.15.dist-info/METADATA,sha256=iyUSuBkg0jmqFqaC69Hr4ZUizIwGTpNdkq-26ttfspE,845
31
- bcmd-0.6.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
32
- bcmd-0.6.15.dist-info/entry_points.txt,sha256=mriCeYh3wksKcqq3-LtzyFkSCIdN1uZc1IJwom-SW1s,34
33
- bcmd-0.6.15.dist-info/top_level.txt,sha256=fYY6tRrJ_G7tn24RXAG0M5ZKbcuaQznodfX1toFPSKs,10
34
- bcmd-0.6.15.dist-info/RECORD,,
30
+ bcmd-0.6.16.dist-info/METADATA,sha256=Kea4dPNNm8Bn-BzR3-4Jt3lAE54x6-j5-62y3N2Ffbo,845
31
+ bcmd-0.6.16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
32
+ bcmd-0.6.16.dist-info/entry_points.txt,sha256=mriCeYh3wksKcqq3-LtzyFkSCIdN1uZc1IJwom-SW1s,34
33
+ bcmd-0.6.16.dist-info/top_level.txt,sha256=fYY6tRrJ_G7tn24RXAG0M5ZKbcuaQznodfX1toFPSKs,10
34
+ bcmd-0.6.16.dist-info/RECORD,,
File without changes