Skip to main content

Upgrade from v0 to v1

CloudBase CLI v1 has been planned for a long time. In the v1 version, we have completely changed the way commands are used, simplified the length of some commands, and aligned with more standard specifications. This is also the direction of our future development efforts: to provide users with a simpler and more powerful CLI tool.

At the same time, CloudBase CLI v1 is fully compatible with the command usage in CloudBase v.0. You don't need to worry about potential issues that may arise from the upgrade, as this is not a destructive or incompatible upgrade. Nevertheless, we still recommend using the new commands, as this is the direction of future development.

Upgrade Instructions

tcb command

In the v1 version, we introduced the tcb command, which enables one-click creation and deployment of cloud development projects,

Command Format Changes

In the v1 version, all commands have changed from the env:list format to the env list format, meaning all colons : in commands have been replaced with spaces. This helps us consolidate similar commands, provide clearer and more intuitive command help prompts. It also aligns with common command usage conventions, reducing the learning curve.

Command Name Changes

  1. The original functions command has been changed to the shorter fn command, such as tcb fn list
  2. The original cloud access service command has been changed to the access command

Removal of Programmatic APIs

In the v1 version, we have completely removed the programmatic usage of the CLI. If you need to operate CloudBase resources as an administrator, please use the @cloudbase/manager-node SDK.