Skip to content

feat: add missing is_enabled and priority fields to CLI output - #249

Merged
sergey-borovkov merged 4 commits into
masterfrom
issue_240
Aug 6, 2025
Merged

feat: add missing is_enabled and priority fields to CLI output#249
sergey-borovkov merged 4 commits into
masterfrom
issue_240

Conversation

@vpetersson

@vpetersson vpetersson commented Jul 14, 2025

Copy link
Copy Markdown
Contributor

Fixes #240

  • Add is_enabled and priority columns to Screens and Playlists formatters
  • Display boolean fields with visual indicators (✅ for true, ❌ for false)
  • Update test expectations to match new output format
  • Refactor boolean formatting logic to eliminate code duplication
  • Apply clippy fixes for improved code quality

The v3 API documentation indicates these fields should be returned, but they were missing from the CLI table output. Now users can see the complete object information as specified in the API docs.

What does this PR do?

GitHub issue or Phabricator ticket number?

Closes #240

How has this been tested?

Checklist before merging

  • If have added tests.
  • Is this a new feature? If yes, please write one phrase about this update.
  • I've attached relevant screenshots (if relevant).

Fixes #240

- Add is_enabled and priority columns to Screens and Playlists formatters
- Display boolean fields with visual indicators (✅ for true, ❌ for false)
- Update test expectations to match new output format
- Refactor boolean formatting logic to eliminate code duplication
- Apply clippy fixes for improved code quality

The v3 API documentation indicates these fields should be returned,
but they were missing from the CLI table output. Now users can see
the complete object information as specified in the API docs.
@sergey-borovkov
sergey-borovkov merged commit 45809e7 into master Aug 6, 2025
10 checks passed
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.

Return full playlist object

2 participants