使用yaml配置的项目的快速pythonic安装程序

fast-installer的Python项目详细描述


快速安装程序

使用配置文件进行快速安装配置:

Image

安装

pip3 install fast-installer

使用

命令行:

^{pr2}$

要安装所有步骤:

fastisntall -a

更多信息:

fastinstall -h

配置文件

示例

options:-description:"Zshconfigurations"key:zshsteps:-description:"Linkingfiles"links:~/.zshrc.d:assets/zsh/zshrc.d/~/.zshrc:assets/zsh/zshrcshell:-echo "test"-command:ls not_existsallow_fail:true-command:tail -f /dev/nullallow_fail:truetimeout:1# 1 seconds           

结构

KeyTypeIs RequiredComments
optionslistyeslist of options

选项

有以下关键字的词典:

^{tb2}$

这些步骤将从第一步运行到最后一步。在

步骤

有以下关键字的词典:

^{3}$

链接

一种字典,其中键是目的软链接位置,值是源位置。在

示例
links:~/.zshrc.d:assets/zsh/zshrc.d/

外壳

执行shell命令。 可以是字符串(要执行的shell命令)。 或者字典:

KeyTypeIs RequiredComments
commandstringyescommand to be executed
allow_failboolnoallow command to fail - default True
timeoutintnotimeout for the command - default 10 seconds

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何从用户输入中找到最大值和最小值?(while循环)   java数据库资源异常   java hibernate查询速度太慢,是否忽略了延迟加载条件?   不带花括号的java IfElse控制流   nextInt()中十进制数输入的java检查   java根据REST中的资源类型发送不同的响应主体   JAVAutil。扫描器Java系统。争论中   对于单个条目,java XSLT到数组的转换失败   java将txt文档预处理为以字符串为键、整数ArrayList为值的hashmap   java获取泛型数组类类型的简单方法?   雅加达ee使用Fast Purge Open API通过java代码清除akamai中的缓存URL   java在OpenNLP中使用parseLine解析后,如何获得没有空格的名词短语作为输入句子?   设置与my GUI的自动交互之间的延迟(Java Swing)