chore(git): merge from main

This commit is contained in:
khai96_
2025-10-31 04:40:57 +07:00
2 changed files with 3 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ export function help (): string {
name: '--location <project|global>',
},
{
description: 'Show all type of values in JSON format (not just objects and arrays)',
description: 'Show all types of values in JSON format (not just objects and arrays)',
name: '--json',
},
],

View File

@@ -1,9 +1,9 @@
import { processConfig } from './processConfig.js'
import { type ConfigCommandOptions } from './ConfigCommandOptions.js'
export type ConfigListOptions = Omit<ConfigCommandOptions, 'json'>
export type ConfigListOptions = Pick<ConfigCommandOptions, 'rawConfig'>
export async function configList (opts: ConfigCommandOptions): Promise<string> {
export async function configList (opts: ConfigListOptions): Promise<string> {
const processedConfig = processConfig(opts.rawConfig)
return JSON.stringify(processedConfig, undefined, 2)
}