import { Argv } from 'yargs' ; import config from '../../config' ; import Config from '../../service/config' ; import { logger } from '../../util' ; export const command = 'ls' ; export const desc = '列出所有 Cathay BDK 此時環境變數' ; export const builder = ( yargs ) => { return yargs ; } ; export const handler = ( ) => { const configService = new Config ( config ) ; const envConfig = configService . ls ( ) ; logger . info ( `${ JSON . stringify ( envConfig ) }` ) ; } ;