Browse Source

modify windowes command

liuyuqi-dellpc 1 month ago
parent
commit
cff0c6fb6f
2 changed files with 8 additions and 1 deletions
  1. 7 0
      client.py
  2. 1 1
      scripts/start_fgh.bat

+ 7 - 0
client.py

@@ -13,6 +13,11 @@ from fgh.utils.frozen_dir import get_app_path
 
 class Client:
     help_str ="""
+    fgh(fast github) quick clone github repo tools
+        contact: liuyuqi.gov@msn.cn
+
+Usage: fgh <command> [<args>]
+
 # clone repo
 fgh clone https://github.com/xx/yy.git
 fgh push https://github.com/xx/yy.git
@@ -23,6 +28,8 @@ fgh wget https://ghproxy.org/https://raw.githubusercontent.com/microsoft/vscode/
 
 fgh curl -O https://ghproxy.org/https://github.com/microsoft/vscode/archive/refs/tags/1.84.2.zip
 fgh curl -O https://ghproxy.org/https://raw.githubusercontent.com/microsoft/vscode/main/README.md
+
+
 """
 
     def __init__(self):

+ 1 - 1
scripts/start_fgh.bat

@@ -12,4 +12,4 @@ REM ***************************************************************************
 
 rem start cmd on current path, and add the path to the system path
 set PATH=%PATH%;%~dp0
-cmd
+cmd /K fgh help