LaunchEnv
1.0.0
V0.0.4
在Python中創建的命令行應用程序在一個命令中執行您的程序或腳本。
僅使用一個命令啟動您的工作/雜項環境。
程序和命令是JSON啟動文件中的stoerd。
來自PYPI
pip install launchenv
sudo pip3 install launchenv
來自Github
# Clone project
git clone https://github.com/a-tharva/LaunchEnv && cd LaunchEnv
# Installation
python3 setup.py install
# Run setup
launch
>launch -build <environment_name>
>launch -a <environment_name>
Enter name of program to add this environment: foo
Enter path of program executable: "D:foofoo.exe" or Drag exe to window the path will appear
For script -
>launch -a <environment_name>
Enter name of program to add this environment: foo
Enter path of program executable: python "D:foofoo.py" or python Drag exe to window the path will appear
script with output
windows -
: start cmd /K python 'D:foofoo.py'
linux -
:
For advance use -
>launch -a <environment_name>
Enter name of program to add this environment: opera incognito
Enter path of program executable: "D:fooopera.exe" -incognito or Drag exe to window the path will appear -incognito
>launch -run <environment_name>
_ _ _____
| | __ _ _ _ _ __ ___| |__ | ____|_ ____ __
| | / _` | | | | '_ / __| '_ | _| | '_ / /
| |__| (_| | |_| | | | | (__| | | | |___| | | V /
|_______,_|__,_|_| |_|___|_| |_|_____|_| |_|_/
usage: launch [-h] [-build] [-a] [-sh] [-t] [-e] [-remove] [-run] [-ls]
[-purge]
Run environment
optional arguments:
-h, --help show this help message and exit
-build , --build Create new work environment/launch file
-a , --add Add program to existing launch file
-sh , --show Show all program in launch file
-t , --time Time in seconds between execution
-e , --exclude Run program except
-remove , --remove Remove program from given launch file
-run , --run Run environment
-ls, --list List all available launch file
-purge , --purge delete the work launch file
仍在研究這個項目。
貢獻是使開源社區成為學習,啟發和創造的驚人場所的原因。您所做的任何貢獻都非常感謝。
如果您有一個可以使情況變得更好的建議,請分配存儲庫並創建拉動請求。別忘了給項目一個明星!再次感謝!
git checkout -b feature/Feature )git commit -m 'Add some Feature' )git push origin feature/Feature )根據MIT許可分發。執照