When I run snap info juju
I get the following in channels:
channels:
stable: 2.2.4 (2529) 25MB classic
candidate: 2.2.5+2.2-c1f373c (2623) 43MB classic
beta: ↑
edge: 2.3-alpha1+develop-3fd2bbf (2625) 51MB classic
That is good in terms of a user perspective, but I have no easy way to read this information programatically.
Previously I have been loading this output as yaml to parse it, but it is hard to define the correct semantics for “↑”
I can sort them and fall back, which is what I guess I will be doing. Anybody else doing similar or a desire for this code to be somewhere more helpful?