17 lines
486 B
Python
17 lines
486 B
Python
from typing import Dict
|
|
from typing import Any
|
|
from replay import get_replay
|
|
from file import get_vm_file
|
|
|
|
def get_vscode_config(env, config: Dict[str, Any]) -> str:
|
|
|
|
trajectory = [{"type": "hotkey", "param": ["command", "shift", "p"]},
|
|
{"type": "typewrite", "param": "OpenProject"},
|
|
{"type": "press", "param": "enter"}]
|
|
|
|
get_replay(env, trajectory)
|
|
|
|
return get_vm_file(env, {
|
|
"path": config["path"],
|
|
"dest": config["dest"]
|
|
}) |