{
  "version": 3,
  "sources": ["../../../../src/packages/plugin-commands-config/configList.ts"],
  "sourcesContent": ["import { encode } from 'ini';\nimport sortKeys from 'sort-keys';\nimport type { ConfigCommandOptions } from './ConfigCommandOptions.ts';\n\nexport async function configList(opts: ConfigCommandOptions): Promise<string> {\n  const sortedConfig = sortKeys(opts.rawConfig);\n\n  if (opts.json === true) {\n    return JSON.stringify(sortedConfig, null, 2);\n  }\n\n  return encode(sortedConfig);\n}\n"],
  "mappings": "AAAA,SAAS,cAAc;AACvB,OAAO,cAAc;AAGrB,eAAsB,WAAW,MAA6C;AAC5E,QAAM,eAAe,SAAS,KAAK,SAAS;AAE5C,MAAI,KAAK,SAAS,MAAM;AACtB,WAAO,KAAK,UAAU,cAAc,MAAM,CAAC;AAAA,EAC7C;AAEA,SAAO,OAAO,YAAY;AAC5B;",
  "names": []
}
