You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the ua client from a desktop environment it is desirable to get back information on requests in a form that can be easily parsed. The proposal is to add a --format=json flag form for these much like the status command does.
For example, currently:
$ sudo ua enable foo
To use 'foo' you need an Ubuntu Advantage subscription
Personal and community subscriptions are available at no charge
See https://ubuntu.com/advantage
proposed:
$ sudo ua enable foo --format=json
{"result": "error", "error-code": "no-subscription", "error-text": "To use 'foo' you need an Ubuntu Advantage subscription\nPersonal and community subscriptions are available at no charge\nSee https://ubuntu.com/advantage"}
The text was updated successfully, but these errors were encountered:
When using the
ua
client from a desktop environment it is desirable to get back information on requests in a form that can be easily parsed. The proposal is to add a--format=json
flag form for these much like thestatus
command does.For example, currently:
proposed:
The text was updated successfully, but these errors were encountered: