Skip to content

Feature request: cntb get products with regional pricing #58

@doziedotdev

Description

@doziedotdev

Problem

The CLI exposes get datacenters (regions) but no way to list:

  • Available products (V-codes) for a given region
  • Pricing per product, per region, per term length

Today users pick a --productId and -r for cntb create instance based on external info (the static product list page or my.contabo.com), then get billed post-creation. This makes scripted, region-comparison provisioning hard.

Related pain: #41 (user charged unexpectedly because region defaults to EU silently).

Proposed

  • cntb get products — list active product IDs with vCPU/RAM/NVMe/bandwidth.
  • cntb get prices --productId <V-code> [--region <slug>] [--period <1|3|6|12>] → returns price per region per term, including any region surcharge.
  • Or: extend cntb get datacenters --withPricing to fold pricing into the region listing.

Why it matters

Lets users automate "pick the cheapest region for this workload" or compare deployments before committing — closing the loop the CLI already starts with get datacenters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions