Cache
Currently, the following actions are supported for cache:
Find
find
action is used to list the path of the cache generated while running scripts through MLC.
Syntax
mlc find cache --tags=<list_of_tags_used_while_running_script>
Examples of find
action for cache
target could be found inside the GitHub action workflow here.
Show
show
action is used to list the path and meta data of the cache generated while running scripts through MLC.
Syntax
mlc show cache --tags=<list_of_tags_used_while_running_script>
Examples of show
action for cache
target could be found inside the GitHub action workflow here.
Rm
rm
action is used to remove one/more caches generated while running scripts through MLC.
Syntax
mlc rm cache --tags=<list_of_tags_used_while_running_script>
A user could delete the entire generated caches through the following command:
mlc rm cache
-f
could be used to force remove caches. Without -f
, user would be prompted for confirmation to delete a cache.
Examples of rm
action for cache
target could be found inside the GitHub action workflow here.