File size: 326 Bytes
9853b20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { syncLocalToSupabase } from './persistence'

export async function runSync() {
  return syncLocalToSupabase()
}

if (require.main === module) {
  runSync().then(r => {
    console.log('Sync result', r)
    process.exit(0)
  }).catch(e => {
    console.error('Sync failed', e)
    process.exit(1)
  })
}