mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2026-11-27 23:13:43 +00:00
feat: 新增参数 prettyYaml 输出更易读的块状 YAML, 默认仍是单行 JSON 风格
This commit is contained in:
12 files changed
+128
-39
No files matched your search
@@ -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 )
|
||||
// })
|
||||
|
||||
|
||||
Reference in new issue
Block a user