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

Create sub command describe of the products #249

Open
maxwelbm opened this issue Nov 13, 2024 · 0 comments · May be fixed by #258
Open

Create sub command describe of the products #249

maxwelbm opened this issue Nov 13, 2024 · 0 comments · May be fixed by #258
Assignees
Labels
domain:mdz Responsible for the Midaz Command-Line Interface (CLI)

Comments

@maxwelbm
Copy link
Contributor

maxwelbm commented Nov 13, 2024

Context

Creating a command to describe a product through the CLI.

Description of the command describe

  • Short: Shows details of a specific product.
  • Long: The describe subcommand provides a detailed view of a specific product, including its clustering policies and the rules applied. Ideal for detailed analysis and monitoring of the settings governing the grouping of customers within each product.

Response api describe product example

{
    "id": "01932727-1b5a-7540-98c0-6521ffe78ce6",
    "name": "Product Licensed Concrete Hat",
    "ledgerId": "01932715-9f93-7432-90c3-4352bcfe464d",
    "organizationId": "01931b04-964a-7caa-a422-c29a95387c00",
    "status": {
        "code": "ACTIVE",
        "description": "Teste Product"
    },
    "createdAt": "2024-11-13T20:11:34.617671Z",
    "updatedAt": "2024-11-13T20:11:34.617674Z",
    "deletedAt": null,
    "metadata": {
        "bitcoinn": "1yzvTqBb4fWaFBLpNV72xRgYXBRfc",
        "boolean": false,
        "chave": "metadata_chave",
        "double": 10.5,
        "int": 1
    }
}
@maxwelbm maxwelbm added the domain:mdz Responsible for the Midaz Command-Line Interface (CLI) label Nov 13, 2024
@maxwelbm maxwelbm self-assigned this Nov 13, 2024
@maxwelbm maxwelbm linked a pull request Nov 14, 2024 that will close this issue
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:mdz Responsible for the Midaz Command-Line Interface (CLI)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant