命令行参数和环境变量support cli arguments and environment variables
使用二进制文件
各平台下载/使用方式
-
Windows
- 下载
ddns.exe
运行 - [可选] 定时任务 下载
create-task.bat
于相同目录,以管理员权限运行
- 下载
-
Ubuntu
# 1. 下载ddns
curl https://github.com/NewFuture/DDNS/releases/download/v2.10.1/ddns -#SLo ddns && chmod +x ddns
# 2. [可选] 定时任务(当前目录):
curl -sSL https://github.com/NewFuture/DDNS/releases/download/v2.10.1/create-task.sh | bash
-
Mac OSX
# 命令行下载
curl https://github.com/NewFuture/DDNS/releases/download/v2.10.1/ddns-osx -#SLo ddns && chmod +x ddns
使用PIP 安装
Pypi 安装当前版本或者更新最新版本
- 安装当前版本[current version]:
pip install ddns=v2.10.1
- 更新最新版[update latest version]:
pip install -U ddns
Changes:
- c7565cb Update .travis.yml
- 36f9c97 update dnspod for request length (#272)
- 473034a update travis ci (#274)
- 5e420fb Update README.md (#273)
- 35ee01f Merge pull request #269 from NewFuture/feat-cli-config
- 9e54d4c doc(readme): update config
- 3eae884 default config file
- 98f83c5 feat(config): support environment variables
- 91a82eb feat(config): cli argument supports to set config
This list of changes was auto generated.