I see that data returned by modules is often non-formatted, like this example:so the app using func would have to convert those strings with KiB MiB and so on in bytes. Why did you choose to go this way instead of reporting absolute, ready-to-use values (like bytes in an integer value)? While I see this form is good for human consumption, it is bad to script / automatization / embeddingfuncinsomethingelse. That's why classic unix userland tools have both forms of output. How do you see a "global" switch to choose between human- and machine- readable outputs? The commandline interface could default to human and the API to machine. Something like:
Thanks, -- Luca Lesinigo |
_______________________________________________ Func-list mailing list Func-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/func-list