import { allSecrets , getSecret , Secret } from "./lib/secrets" ; import { logUncaughtErrors } from "./util/util" ; if ( ! module . parent ) { logUncaughtErrors ( main ( ) ) ; } async function main ( ) { for ( const secret of allSecrets ) { console . log ( `Fetching secret '${ Secret [ secret ] }'...` ) ; console . log ( await getSecret ( secret ) ) ; } }