I'm imagining a workflow where textual can be used as a progressive enhancement for a cli tool, in case the user doesn't pass in all required flags. A web frontend for that view will make it more comfortable for even more types of users.... :)
python code_format.py --file app.js => textual isn't used/invoked at all
python code_format.py => textual is used to show user a DirectoryTree file dialog, then exits
I'm assuming this could work via "App" return values: app.exit({ file: "app.js" })
Do you have any examples of textual being used in this manner? If not, no worries