Skip to content

[FEATURE] Enhance output in Json format #144

@aviatco

Description

@aviatco

Use Case / Problem

Including API response or command details in a JSON output can make results clearer and more useful for both users and automation.

Proposed Solution

Place the API result or command details inside the result.data object for easy access and better integration.

Alternatives Considered

No response

Impact Assessment

  • This would help me personally
  • This would help my team/organization
  • This would help the broader fabric-cli community
  • This aligns with Microsoft Fabric roadmap items

Implementation Attestation

  • I understand this feature should maintain backward compatibility with existing commands
  • I confirm this feature request does not introduce performance regressions for existing workflows
  • I acknowledge that new features must follow fabric-cli's established patterns and conventions

Implementation Notes

This is already supported in the create command, and it should work in the others too.

For example, in the exists command, putting the result in the response instead of the message would make it easier for users to parse the value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions