mirrored 15 minutes ago
0
rhythmcaofinish multi-app examples fc15a33
{
    "id": "c867c42d-a52d-4a24-8ae3-f75d256b5618",
    "snapshot": "thunderbird",
    "instruction": "Please assist me in exporting my contacts of Personal Address Book from Thunderbird into contacts.csv file in the desktop and convert it to .xlsx with Libreoffice Calc.",
    "source": "https://www.sync.blue/en/sync/mozilla-thunderbird/google-sheets/",
    "config": [
        {
            "type": "launch",
            "parameters": {
                "command": [
                    "libreoffice",
                    "--calc"
                ]
            }
        },
        {
            "type": "download",
            "parameters": {
                "files": [
                    {
                        "url": "https://drive.usercontent.google.com/download?id=1wKXmJ14dnxSzdy9ZF_ePWU7zpevY6Dry&export=download&authuser=0&confirm=t&uuid=9b476c95-8eee-4a9a-8cee-c3620d5ce250&at=APZUnTUzDeeeMNr34DB1vEnBK6N7:1706719624132",
                        "path": "/home/user/thunderbird-profile.tar.gz"
                    }
                ]
            }
        },
        {
            "type": "execute",
            "parameters": {
                "command": [
                    "tar",
                    "--recursive-unlink",
                    "-xz",
                    "-f",
                    "/home/user/thunderbird-profile.tar.gz",
                    "-C",
                    "/home/user/"
                ]
            }
        },
        {
            "type": "launch",
            "parameters": {
                "command": [
                    "/usr/bin/thunderbird"
                ]
            }
        }
    ],
    "trajectory": "trajectories/",
    "related_apps": [
        "thunderbird",
        "libreoffice_calc"
    ],
    "evaluator": {
        "func": [
            "compare_csv",
            "compare_table"
        ],
        "conj": "and",
        "result": [
            {
                "type": "vm_file",
                "path": "/home/user/Desktop/contacts.csv",
                "dest": "contacts.csv"
            },
            {
                "type": "vm_file",
                "path": "/home/user/Desktop/contacts.xlsx",
                "dest": "contacts.xlsx"
            }
        ],
        "expected": [
            {
                "type": "cloud_file",
                "path": "https://drive.usercontent.google.com/download?id=1StwASpAR2ALq2Y1vugGsdUJptg6FwjEm&export=download&authuser=0&confirm=t&uuid=56339e19-b889-4da1-ab72-5e0b90f13fff&at=APZUnTVWFF2pBrtWU_hXgzfbrWP2:1706719668676",
                "dest": "contacts_gold.csv"
            },
            {
                "type": "cloud_file",
                "path": "https://drive.usercontent.google.com/download?id=1s25eUpvkMzSm6p_WA7O13t6mVqmkxr2C&export=download&authuser=0&confirm=t&uuid=901cbd32-6026-4391-a5cc-989e1047cf7c&at=APZUnTUs27mZceDshB_f9Tx4PFyz:1706719610831",
                "dest": "contacts_gold.xlsx"
            }
        ],
        "options": [
            {},
            {
                "rules": [
                    {
                        "type": "sheet_data",
                        "sheet_idx0": "RI0",
                        "sheet_idx1": "EI0"
                    }
                ]
            }
        ]
    }
}