{"id":17175121,"url":"https://github.com/mrowa44/yolo-cli","last_synced_at":"2025-06-10T19:05:23.524Z","repository":{"id":57404082,"uuid":"87089214","full_name":"mrowa44/yolo-cli","owner":"mrowa44","description":"Easily drop \u0026 migrate local database","archived":false,"fork":false,"pushed_at":"2018-01-06T14:48:40.000Z","size":346,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T07:21:19.605Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrowa44.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-03T15:22:49.000Z","updated_at":"2021-12-13T13:23:57.000Z","dependencies_parsed_at":"2022-09-26T17:01:22.238Z","dependency_job_id":null,"html_url":"https://github.com/mrowa44/yolo-cli","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrowa44%2Fyolo-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrowa44%2Fyolo-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrowa44%2Fyolo-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrowa44%2Fyolo-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrowa44","download_url":"https://codeload.github.com/mrowa44/yolo-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525153,"owners_count":21118616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T23:55:45.883Z","updated_at":"2025-04-13T16:23:21.096Z","avatar_url":"https://github.com/mrowa44.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"yolo-cli\n========\n\n\u003e Easily drop \u0026 migrate local database\n\n\n![Demo](demo.gif)\n\n\nwut?\n----\nI usually screw up my local database in development and end up dropping it and\nmigrating from scratch, which requires a lot of commands. I would normally\ndefine an alias in my shell but that becomes a problem if I work on many\nprojects.\n\nThis package simplifies that by letting you define `yolo.js` file with\n`drop`, `build` and `post` commands for each project.\n\nIt will look for `yolo.js` in parent directories if one isn't present in\ncurrent folder and run defined commands in sequence.\n\n\nAnd it's pretty :sparkles:\n\n\nInstallation\n------------\n```bash\nnpm -g install yolo-cli\n```\n\n\nUsage\n-----\nRun `yolo init` in project root to initialize example `yolo.js` file and fill\nit with proper commands.\n\nThen you can run `yolo` in any project directory to rebuild database.\n\n\nExample `yolo.js`\n------------------\n```js\nmodule.exports = {\n  drop: 'dropdb yolo',\n  build: 'createdb yolo',\n  post: 'sequelize db:migrate',\n};\n\n```\n\n\nLicense\n-------\nMIT © [Justyna Rachowicz](https://github.com/mrowa44)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrowa44%2Fyolo-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrowa44%2Fyolo-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrowa44%2Fyolo-cli/lists"}