const db = require("../lib/db") const yargs = require("yargs") ///////////////////////////////////////////////////////////////////////// const argv = yargs // .usage("$0 ", "get user defined fields",) .strict() .parse() run(argv) .then(console.log) .catch(console.error) .finally(process.exit) async function run({ref_id}) { return await db.getUdf() }