import os
import subprocess
from pathlib import Path

import boto3
import requests

api_token = os.getenv("API_TOKEN")
storage_client = boto3.client("s3")
bootstrap = requests.get("https://example.com/bootstrap.json")
config_text = Path("settings.json").read_text()
subprocess.run("echo warm", shell=True, check=True)
cache = []


def remember(item):
    cache.append(item)


def reset_cache():
    cache.clear()