import * as configCmd from './config.js'
import { type ConfigCommandOptions } from './ConfigCommandOptions.js'

export const rcOptionsTypes = configCmd.rcOptionsTypes
export const cliOptionsTypes = configCmd.cliOptionsTypes
export const help = configCmd.help

export const commandNames = ['get']

export async function handler (opts: ConfigCommandOptions, params: string[]): Promise<configCmd.ConfigHandlerResult> {
  return configCmd.handler(opts, ['get', ...params])
}
