feat: 新增参数 prettyYaml 输出更易读的块状 YAML, 默认仍是单行 JSON 风格

This commit is contained in:
xream committed 2026-04-06 01:53:57 +08:00
1 parent 404df83d52
commit ed4ae7ade1
12 files changed
+128 -39

No files matched your search

+3
View File
@@ -258,6 +258,9 @@ function operator(proxies = [], targetPlatform, context) {
// type: 'subscription',
// name: 'sub',
// platform: 'ClashMeta',
// produceOpts: {
// prettyYaml: true // 输出更易读的块状 YAML, 默认仍是单行 JSON 风格
// },
// produceType: 'internal' // 'internal' produces an Array, otherwise produces a String( ProxyUtils.yaml.safeLoad('YAML String').proxies )
// })