clean
Descriptionโ
Performs the work directory cleanup.
The rl-secure
CLI generates temporary files in the package store while analyzing your packages.
When the analysis is complete and the report successfully created, those files are no longer needed.
Generally, users are not required to remove those temporary files, as rl-secure
cleans them up automatically.
However, if you need to remove them for any reason, you can do it with this command.
Some commands allow decoupling the package store and the work directory.
When the temporary files are stored outside of any package store, the clean
command cannot be used to perform the cleanup.
Instead, users should manually delete those temporary files after the processing is done.
Usageโ
rl-secure clean [<options>]
Optionsโ
Option | Description |
---|---|
-h, --help | Display usage information and exit. |
-s, --rl-store ย ย | Path to an initialized package store containing the work directory to remove. If you don't specify the path, the current directory is used. |
Examplesโ
Clean up temporary filesโ
In this example, we're specifying the path to a package store. The command will clean up the work directory only for that package store.
- Simplified input
- Extended input
- Output
rl-secure clean -s /home/armando/my-repository/
rl-secure clean --rl-store=/home/armando/my-repository/
Cleaning up work directory ... done
Cleaning up stale data ... done