What Should I Do If a Command Fails to Run and a Message Is Displayed Asking Whether to Trust This Folder?
Symptom
When you run a command in CodeArts Agent CLI, a message is displayed asking whether to trust this folder.
Cause Analysis
The restricted mode is enabled for CodeArts Agent CLI. That means the value of enabled is set to true (the default value is false) in the %USERPROFILE%/.codeartsdoer/cli-data/settings.json configuration file.
Solution
Perform the following operations to trust the entire directory (D:\CLI01) and all its subdirectories and workspace files:
- Method 1: On the displayed page, select Trust this folder and press Enter. Figure 1 Trusting the target folder
- Method 2: Go to the %USERPROFILE%/.codeartsdoer/cli-data directory and open the settings.json file. Change the value of enabled to false. Figure 2 Distrusting this author
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot