/ commands / heapdump / index.ts
index.ts
 1  import type { Command } from '../../commands.js'
 2  
 3  const heapDump = {
 4    type: 'local',
 5    name: 'heapdump',
 6    description: 'Dump the JS heap to ~/Desktop',
 7    isHidden: true,
 8    supportsNonInteractive: true,
 9    load: () => import('./heapdump.js'),
10  } satisfies Command
11  
12  export default heapDump