使用yaml配置的项目的快速pythonic安装程序
fast-installer的Python项目详细描述
快速安装程序
使用配置文件进行快速安装配置:
安装
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
结构
Key | Type | Is Required | Comments |
---|---|---|---|
options | list | yes | list of options |
选项
有以下关键字的词典:
^{tb2}$这些步骤将从第一步运行到最后一步。在
步骤
有以下关键字的词典:
^{3}$链接
一种字典,其中键是目的软链接位置,值是源位置。在
示例
links:~/.zshrc.d:assets/zsh/zshrc.d/
外壳
执行shell命令。 可以是字符串(要执行的shell命令)。 或者字典:
Key | Type | Is Required | Comments |
---|---|---|---|
command | string | yes | command to be executed |
allow_fail | bool | no | allow command to fail - default True |
timeout | int | no | timeout for the command - default 10 seconds |
- 项目
标签: