"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const utils_1 = require("../../../utils");
const helpers_1 = require("../helpers");
const description = `Syncs the project against app.json by running a collection of commands:
1. yarn grund rn:sync:path
2. yarn grund rn:sync:config
3. yarn grund rn:sync:name
4. yarn grund rn:sync:assets
`;
helpers_1.createRnCommand('rn:sync', true)
    .description(description)
    .action(async () => {
    await utils_1.exec('yarn grund rn:sync:path');
    await utils_1.exec('yarn grund rn:sync:config');
    await utils_1.exec('yarn grund rn:sync:assets');
    await utils_1.exec('yarn grund rn:sync:name');
});
