Delete Client
Command Execution
You can permanently delete any older version of the client component in your Catalyst project using the CLI. You can choose to delete the client from the remote console or from your local project directory while executing this command. You can also delete a client version from the console through Web Client Hosting.
-
You will not be able to delete the client version that is currently live. You can only delete a version that is not currently hosted live.
-
If a client version exists in both locations, it will only be deleted from the location you choose. For example, even if you delete the client version from the remote console, it will still be present in your local project directory until you delete it from the local machine separately.
- To delete an older version of your client component from the CLI, execute the following command from the project directory structure:
- The CLI will ask you to choose between the client in the remote console or the client in your local project
directory. Select an option and press Enter .
-
The CLI will display all the versions of your web application that have previously been hosted. Select any version from the list, other than the live version, then press Enter .
The selected version will then be deleted from your Catalyst project from the chosen location.
You can also directly specify the client version to be deleted in the following way:
For example:
The CLI will then prompt you to select between the remote console or the local directory, then ask you for the delete confirmation in the same manner.
Delete Client Options
You can directly choose to list the versions of the client in either the remote console or in your local project directory to delete using the respective options.
To list the client versions available in your local project directory, execute the catalyst client:delete command as follows:
To list the client versions available in the remote console of your project, execute the catalyst client:delete command as follows:
The CLI will list the client versions accordingly, and you can delete the required version as explained previously.
You can also directly delete a version from the remote console or the local directory as shown below:
Last Updated 2024-01-09 17:07:13 +0530 +0530
Yes
No
Send your feedback to us