🌳
$ ptnode pt0/gamesapp/binF/epDbSync.mjs help

[action]s:
  apply         deploy to k8s [--withDocker] [--withKaniko] [--withPodman] [--history] [--skipMigrationCheck]
  backup        backup .sql to ~/ptdisk/backups/<dbName>/
  backupsdir    
  busybox       replaces pod w busybox (when its crashing & you need to exec in)
  connsall      show all connections (superuser)
  dbconsole     opens psql console, or runs query: dbconsole "SELECT..." (--write for mutations, --no-su for app user)
  delete        kubectl delete -f [action=resources] ( excludes pvcs for safety see delpvcs )
  delpvcs       [--force]
  fexec         shell into first pod
  fixmfs        find IPFS media not in MFS root and pin + add them
  info          show k8s resources & debug info
  ipfsbackup    download all ipfs content to ~/ptdisk/ipfsbackups/<label>/
  ipfsdir       open ~/ptdisk/ipfsbackups/<label>/ in Finder
  ipfsrestore   restore ipfs content from ~/ptdisk/ipfsbackups/<label>/
  killstaleconns terminate idle/stuck connections from this user (--force: kill all including active; connects as superuser)
  logs          stream logs [--pod=<N or "all">] [-f] [--follow]
  migrate       run pending migrations
  migratestatus show pending/applied migrations
  pods          
  ptcheck       run syntax/type/boundary checks on files in this ep's import tree
  qs            writes the cnpg cluster secret qs to a local secret
  regenkysely   regenerate Kysely types via kysely-codegen; arg = out-file path
  resources     show json arr of k8s resources that would be created/applied
  restart       rollout restart the k8s deployment
  restore       restore most recent .sql from ~/ptdisk/backups/<dbName>/
  rollback      
  runtests      run CLI behavior tests (--suite=clitests)
  testdeploy    [--withDocker] [--withKaniko] [--withPodman] [--history] [--skipMigrationCheck]
  help          [action] may show more help

can filter by --epScope=alljs|deployjs|dockerjs|pubfejs:
  howimports    explains how entrypoints import <path>