I have a proposal, and I think it will be very usefull. Proposal is ENV variables or something like that. It is similar to “Import Questions” in Shortcuts but the value will be available for example in args.env
. It will be useful for storing API keys or something like that not in the script code.
For example: I create a widget that shows todos from Todoist and I want to share the script with people, I need to change token variable in my script code and then share it. It will be a lot better if there will be ability to store some sensitive data separately and with UI.
May be a good solution will be not the ENV variables but UI for Keychain, that will be accessible from Scriptable settings and users can view/add/edit their key:value pairs, it will be very cool!)