Heya all.
I am trying out the new support in 2.27 for using snapctl in snap applications, and I have a question.
Understandably, when you use ‘snapctl set’ inside the configure hook, it does not trigger a configure hook run.
However, when used from an app, it probably should trigger a configure hook run?
FWIW, my use case is that I have a command line app that is used to configure my snap (for better UX than naked snap set, with bash completion, config schema, custom commands and such like), and I have to explicitly trigger configure hook after using it. Am thinking to work around this by having the app manually invoke snap/hooks/configure when needed, but this smells bad to me - there maybe be specific context the configure hook sets up that I miss by running the script manually?
Thoughts welcome.
Thanks.