Clearing files

Table of contents

  1. Clear cache
  2. Clear log
  3. Clear uploads

Clear cache

rosemary clear:cache

This command is used to clear the pytest cache in the app/modules directory and the build directory in the root of the project. After confirming the action, the command removes the .pytest_cache folder, the build folder, all __pycache__ directories and all .pyc files found in the project.

Clear log

rosemary clear:log

This command is used to clear the app.log file.

Clear uploads

rosemary clear:uploads

This command clears the uploads folder used by users to upload dataset files.