I am writing a CLI in Kotlin primarily using this library: the CLIKT Library and I am using Gradle to manage dependencies
I have a separate Django website that I have deployed to Heroku
This Heroku app has a heroku-postgresql add-on (Not sure if this is relevant: I haven't configured or populated the postgresql database)
I want the CLI to securely connect to the database and read some JSON from it
My goal is to distribute the CLI through the Django website (I'm mentioning this because I want you to know that the CLI will be available to anyone which is why I need it to securely connect to the database)