import { addCeloEnvMiddleware , CeloEnvArgv } from 'src/lib/env-utils' ; import { getBootnodeEnode } from 'src/lib/geth' ; import yargs from 'yargs' ; export const command = 'bootnode-enode' ; export const describe = 'command for the bootnode enode address for an environment' ; export const builder = ( argv ) => addCeloEnvMiddleware ( argv ) ; export const handler = async ( argv ) => { console . info ( await getBootnodeEnode ( argv . celoEnv ) ) ; } ;