Hello I would like to extract the channel name that will be used for pending refresh cycle. Is it possible to get this channel information from “pre-refresh” hook?
I saw that this is only possible in “gate-auto-refresh” hook using snapctl refresh --pending
interface. But I want to extract this information before a “manual” refresh.
Sincerely request please don’t ignore this question, I will be grateful for any kind of help.