Sharing SwiftData between two apps

This is probably super simple answer that I missed, but: I have an app that has a database; I'd like to create a second app (actually a CLI tool), and access the same database. Is that possible? And, if so, how? 😄

Sharing SwiftData between two apps
 
 
Q