Skip to content

Comments

Implement JSON/YAML/ENV output#333

Merged
Sapd merged 14 commits intomasterfrom
feature-output
Apr 1, 2024
Merged

Implement JSON/YAML/ENV output#333
Sapd merged 14 commits intomasterfrom
feature-output

Conversation

@Sapd
Copy link
Owner

@Sapd Sapd commented Mar 18, 2024

No description provided.

Sapd added 10 commits February 20, 2024 21:42
Ability to output in JSON, YAML, ENV

* Deprecated short output (was also not really consistent and has a weird format)
* Simplified adding a device in device_registry.c
* Added a test device with --test-device
* Reworked main.c:
    * Print device table as markdown using --readme-helper
    * When a device is connected, help now only shows commands for this device
    * Added --help-all
    * Removed all output from main.c
    * Reworked logic for calling device features
* Added asprintf and reqired vacopy check
And use BATTERY_AVAILABLE instead of BATTERY_DISCHARGING
@Sapd Sapd merged commit fc61909 into master Apr 1, 2024
@Sapd Sapd mentioned this pull request Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant