add rt_cache: caching bash function for rt CLI