Nothing in Flatpak stipulates that it only supports GUI applications.
In fact the tutorial offers to create a CLI application:
https://unix.stackexchange.com/questions/740712/does-flatpak-support-command-line-applications
Nothing in Flatpak stipulates that it only supports GUI applications.
In fact the tutorial offers to create a CLI application:
https://unix.stackexchange.com/questions/740712/does-flatpak-support-command-line-applications