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
currently, ioc list is our most powerful tool to extract information from all jails, templates and releases. Best of all it comes with an output format that everyone can deal with: JSON.
however, it requires one thing: prior knowledge. Unlike get, which can return all properties, in list we need to know exactly what we're asking for, which in turn means duplicating knowledge in multiple tools
get like many others (#233) lacks an JSON output format option (#232, #231)
but our problems are a bit deeper than that: the global namespace of properties is polluted (#413).
So here's some improvements we can make to libiocage, to make it easier to use from third-party tools — especially those written in not-Python:
currently,
ioc list
is our most powerful tool to extract information from all jails, templates and releases. Best of all it comes with an output format that everyone can deal with: JSON.however, it requires one thing: prior knowledge. Unlike
get
, which can returnall
properties, inlist
we need to know exactly what we're asking for, which in turn means duplicating knowledge in multiple toolsget
like many others (#233) lacks an JSON output format option (#232, #231)but our problems are a bit deeper than that: the global namespace of properties is polluted (#413).
So here's some improvements we can make to libiocage, to make it easier to use from third-party tools — especially those written in not-Python:
The text was updated successfully, but these errors were encountered: