Qexo / Scripts

Qexo 云端命令库

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scripts

Qexo 云端命令库

编写命令

  1. 在 scripts 目录下创建文件 xxx.py
  2. 参考示例(hello-world.py)编辑你的命令,可直接使用 hexoweb/functions.py 内置函数
  3. 在 index.json 中添加信息
[
    ...
    {
        "name": "名称",
        "description": "介绍",
        "path": "scripts/xxx.py",
        "author": "Your Name",
        "argv": [
            {"name":"name", "placeholder": "你的名字"},
            ...
        ]
    }
]
  1. 创建 Pull Request

About

Qexo 云端命令库

License:GNU General Public License v3.0


Languages

Language:Python 100.0%