import program from 'commander'; const commandLine = program .option('-k, --api-key') .option('-t, --type') .parse(process.argv); class AppConfig { get apiKey() { return commandLine['api-key'] || '42ad9bf1-1706-4104-901f-8d59d927dc5d'; } get nodeType() { return commandLine.type === 'master' ? 'master' : 'light'; } get tenderMintHost() { return ''; } get tendermintRPCPort() { return ''; } } export const config = new AppConfig();