Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement JSON/YAML/ENV output #333

Merged
merged 14 commits into from
Apr 1, 2024
Merged

Implement JSON/YAML/ENV output #333

merged 14 commits into from
Apr 1, 2024

Conversation

Sapd
Copy link
Owner

@Sapd Sapd commented Mar 18, 2024

No description provided.

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
8 checks passed
@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