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许可分发。执照