1
0
mirror of https://github.com/HorlogeSkynet/archey4 synced 2025-05-10 16:00:15 +02:00

3 Commits

Author SHA1 Message Date
Samuel FORESTIER
f1759a9f2d
[FEATURE] JSON output format (#70)
This patch implements a `-j` option allowing data to be output in JSON format.
Achieving this required Archey's internals to be reworked, allowing more complex operations in entries to be performed and keeping `Output` uncoupled from them.

Co-authored-by: Michael Bromilow <12384431+ingrinder@users.noreply.github.com>
2020-05-19 07:53:05 +00:00
Samuel FORESTIER
930f4cfdfb
[GPU] Adds support for multiple GPUs (and fixes their display order) (#71)
> Closes #61 (multi-GPU support)

 * Fixes GPU display order (new order: 3D -> VGA -> Display) 

 * Adds support for multiple GPUs displayed at once.

 * Adds option for multi-line GPU output with new configuration option.

 * Modifies `Output` to havean `append` method prototype similar to `list.append`.

 * Automatically sets entries' outputs as 'Not detected' when their `value` is falsy.

Co-authored-by: Michael Bromilow <12384431+ingrinder@users.noreply.github.com>
2020-05-17 02:54:55 +00:00
Michael Bromilow
4b993d3c74
Reworks the Output class (#64)
+ Fixes #63 (lines-overlapping in case of undersized terminal)
+ Makes Archey entries inherit from a base (abstract) `Entry` class
+ Allows more than 18 entries to be included in final output
2020-05-04 19:02:46 +00:00