async function promptForAuth() {
  authData = await ux.prompt(newRunPrompts)
  let me = await ux.prompt(userPrompts)
  writeToFileSync({
    dirPath: OP_CONFIG,
    fileName: AUTH_FILE_NAME,
    data: JSON.stringify({ authData, user: { me } }),
  })
  return { authData, user: { me } }
}
/**
 * promptForAuth asks the user for their auth details and saves them to our
 * config.
 */
promptForAuth asks the user for their auth details and saves them to our
config.
promptForAuth asks the user for their auth details and saves them to our config .
async function promptForAuth() {
  authData = await ux.prompt(newRunPrompts)
  let me = await ux.prompt(userPrompts)
  writeToFileSync({
    dirPath: OP_CONFIG,
    fileName: AUTH_FILE_NAME,
    data: JSON.stringify({ authData, user: { me } }),
  })
  return { authData, user: { me } }
}
async function promptForAuth ( ) { authData = await ux . prompt ( newRunPrompts ) let me = await ux . prompt ( userPrompts ) writeToFileSync ( { dirPath : OP_CONFIG , fileName : AUTH_FILE_NAME , data : JSON . stringify ( { authData , user : { me } } ) , } ) return { authData , user : { me } } }
promptForAuth asks the user for their auth details and saves them to our
 config.
promptForAuth asks the user for their auth details and saves them to our config .