Skip to content

Qexo/Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages