Skip to main content
Deno 2 is finally here 🎉️
Learn more

ctcli

a CLI to perform commands to a commercetools project

how to run:

deno run -A https://deno.land/x/ctcli/ct.ts -i

Prerequisites

  • have the deno runtime installed
  • have terraform installed
  • have a .env file containing the details of your commeretools project

commands

  • client Shows the configuration of the API client

  • project Information arround the configuration of the project

    • list Lists the configuration of the project
    • clean Deletes all configuration in the project
  • products Gets products from the project

    • list Lists all products in the project
    • import Imports a selection of products into the project. For now a rubber duck with 7 variants
    • clean Deletes all products from the project

    history:

    • 23-03-2023 first release